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
+2 -2
View File
@@ -23,9 +23,9 @@ class Bet extends \sammo\BaseAPI
'bettingType',
'amount'
])
->rule('integer', 'bettingID')
->rule('int', 'bettingID')
->rule('integerArray', 'bettingType')
->rule('integer', 'amount')
->rule('int', 'amount')
->rule('min', 'amount', 1);
if (!$v->validate()) {