Sfoglia il codice sorgente

管理后台商品来源bugfix

kevin_zhangl 2 anni fa
parent
commit
3a23089882
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      common/models/forms/DecPackageForm.php

+ 1 - 0
common/models/forms/DecPackageForm.php

@@ -148,6 +148,7 @@ class DecPackageForm extends Model
                 }
                 }
                 $oneGoods->STATUS = $this->status;
                 $oneGoods->STATUS = $this->status;
                 $oneGoods->UPDATED_AT = Date::nowTime();
                 $oneGoods->UPDATED_AT = Date::nowTime();
+                $oneGoods->CATE_ID = 1;
                 if (!$oneGoods->save()) {
                 if (!$oneGoods->save()) {
                     throw new Exception(Form::formatErrorsForApi($oneGoods->getErrors()));
                     throw new Exception(Form::formatErrorsForApi($oneGoods->getErrors()));
                 }
                 }