@ -237,6 +237,9 @@ class Goods extends \yii\db\ActiveRecord
if (!$this->limit_count) {
$this->limit_count = 0;
}
if (!$this->sort_order) {
$this->sort_order = 999;
return parent::beforeSave($insert); // TODO: Change the autogenerated stub