getReq변경, ajax인 경우 ajax요청
This commit is contained in:
1 parent
a688b6fdce
commit
19a84d0cc8
69 files changed
+258
-166
No files matched your search
@@ -4,7 +4,9 @@ namespace sammo;
|
||||
include 'lib.php';
|
||||
include 'func.php';
|
||||
|
||||
$post = Json::decode(Util::getReq('data', 'string', '{}'));
|
||||
WebUtil::requireAJAX();
|
||||
|
||||
$post = Json::decode(Util::getPost('data', 'string', '{}'));
|
||||
'@phan-var mixed[] $post';
|
||||
|
||||
$v = new Validator($post);
|
||||
|
||||
Reference in new issue
Block a user