edit修改相关内容

This commit is contained in:
admin 2024-01-21 10:33:56 +08:00
parent 571525f207
commit 7c9f67e8bc

View File

@ -135,8 +135,7 @@ class CommonGoodsEditForm extends Model
// $this->model->attr_groups = json_encode($this->attrGroups,JSON_UNESCAPED_UNICODE);
$this->model->attr_groups = 1; //商品规格组 用不到看表 0 不需要规格组
$this->model->date = (int)strtotime($this->date . "-01-01");
$this->model->date = strtotime($this->date);
//保存商品基础信息
$res = $this->saveGoodsHub();