시뮬레이터 전투 준비

This commit is contained in:
2018-08-26 22:32:37 +09:00
parent 5c8ad646af
commit 3f43f218ac
2 changed files with 9 additions and 0 deletions
+8
View File
@@ -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);
if($query === null){
Json::die([
+1
View File
@@ -527,6 +527,7 @@ jQuery(function($){
url:'j_simulate_battle.php',
dataType:'json',
data:{
action:'battle',
query:JSON.stringify(data),
}
}).then(function(result){