건국 코드 준비

This commit is contained in:
2018-10-22 02:30:44 +09:00
parent 45e579f0ef
commit f56f201bad
4 changed files with 200 additions and 5 deletions
+5 -2
View File
@@ -20,11 +20,11 @@ if(!$action){
$defaultCheck = [
'string'=>[
'nationName', 'optionText', 'itemType'
'nationName', 'optionText', 'itemType', 'nationType'
],
'integer'=>[
'crewType', 'destGeneralID', 'destCityID', 'destNationID',
'amount', 'colorType', 'nationType', 'itemCode'
'amount', 'colorType', 'itemCode'
],
'boolean'=>[
'isGold', 'buyRice',
@@ -37,6 +37,9 @@ $defaultCheck = [
],
'integerArray'=>[
'destNationIDList', 'destGeneralIDList'
],
'lengthBetween'=>[
['nationName', 1, 9]
]
];