|
@ -37,7 +37,9 @@ class ExpressArea extends \yii\db\ActiveRecord |
|
|
{ |
|
|
{ |
|
|
return [ |
|
|
return [ |
|
|
[['province', 'city', 'area'], 'string'], |
|
|
[['province', 'city', 'area'], 'string'], |
|
|
[['express_template', 'extra_price', 'basic_price', 'basic_count', 'extra_count'], 'integer'], |
|
|
|
|
|
|
|
|
[['express_template'], 'integer'], |
|
|
|
|
|
[['extra_price', 'basic_price', 'basic_count', 'extra_count'], 'safe'], |
|
|
|
|
|
[['extra_price', 'basic_price', 'basic_count', 'extra_count'], 'number'], |
|
|
]; |
|
|
]; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|