refac: API 검증시 integer(int-like)에서 is_int로 강제

This commit is contained in:
2022-05-14 22:13:51 +09:00
parent 3e815691df
commit 63cfa5e298
16 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ class GetBettingDetail extends \sammo\BaseAPI
$v->rule('required', [
'betting_id',
])
->rule('integer', 'betting_id');
->rule('int', 'betting_id');
if (!$v->validate()) {
return $v->errorStr();