feat,refac: 중원 정보 페이지

This commit is contained in:
Hide_D committed 2022-04-21 03:24:11 +09:00
1 parent 7c3d94833f
commit 56512dad8a
10 files changed
+282 -243

No files matched your search

+2 -2
View File
@@ -14,8 +14,8 @@ class GetMap extends \sammo\BaseAPI
public function validateArgs(): ?string
{
$v = new Validator($this->args);
$v->rule('boolean', 'neutralView')
->rule('boolean', 'showMe');
$v->rule('in', 'neutralView', [0, 1])
->rule('in', 'showMe', [0, 1]);
if (!$v->validate()) {
return $v->errorStr();
}