parseJsonPost 기반 동작 포기
This commit is contained in:
1 parent
c6f3e7672f
commit
7b1a76871a
6 files changed
+27
-34
No files matched your search
@@ -4,7 +4,7 @@ namespace sammo;
|
||||
include 'lib.php';
|
||||
include 'func.php';
|
||||
|
||||
$post = WebUtil::parseJsonPost();
|
||||
$post = Json::decode(Util::getReq('data', 'string', '{}'));
|
||||
'@phan-var mixed[] $post';
|
||||
|
||||
$v = new Validator($post);
|
||||
|
||||
Reference in new issue
Block a user