Browse Source

创建运费区域创建模型

antshop
linyaostalker 5 years ago
parent
commit
b89e598846
  1. 4
      backend/modules/shop/models/ars/ExpressArea.php

4
backend/modules/shop/models/ars/ExpressArea.php

@ -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'],
]; ];
} }

Loading…
Cancel
Save