getReq변경, ajax인 경우 ajax요청

This commit is contained in:
2020-05-05 00:19:01 +09:00
parent a688b6fdce
commit 19a84d0cc8
69 changed files with 258 additions and 166 deletions
+4 -4
View File
@@ -4,10 +4,10 @@ namespace sammo;
include "lib.php";
include "func.php";
$btn = Util::getReq('btn');
$defence_train = Util::getReq('defence_train', 'int', 2);
$tnmt = Util::getReq('tnmt', 'int', 1);
//$detachNPC = Util::getReq('detachNPC', 'bool');
$btn = Util::getPost('btn');
$defence_train = Util::getPost('defence_train', 'int', 2);
$tnmt = Util::getPost('tnmt', 'int', 1);
//$detachNPC = Util::getPost('detachNPC', 'bool');
$detachNPC = false;
$showDieImmediatelyBtn = false;