시뮬레이터 전투 준비
This commit is contained in:
@@ -15,6 +15,14 @@ if($query === null){
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$action = Util::getReq('action');
|
||||||
|
if($action === null || in_array($action, ['reorder', 'battle'])){
|
||||||
|
Json::die([
|
||||||
|
'result'=>false,
|
||||||
|
'reason'=>'원하는 동작이 지정되지 않았습니다.'
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
$query = Json::decode($query);
|
$query = Json::decode($query);
|
||||||
if($query === null){
|
if($query === null){
|
||||||
Json::die([
|
Json::die([
|
||||||
|
|||||||
@@ -527,6 +527,7 @@ jQuery(function($){
|
|||||||
url:'j_simulate_battle.php',
|
url:'j_simulate_battle.php',
|
||||||
dataType:'json',
|
dataType:'json',
|
||||||
data:{
|
data:{
|
||||||
|
action:'battle',
|
||||||
query:JSON.stringify(data),
|
query:JSON.stringify(data),
|
||||||
}
|
}
|
||||||
}).then(function(result){
|
}).then(function(result){
|
||||||
|
|||||||
Reference in New Issue
Block a user