edit修改相关内容
This commit is contained in:
parent
571525f207
commit
7c9f67e8bc
@ -135,8 +135,7 @@ class CommonGoodsEditForm extends Model
|
|||||||
// $this->model->attr_groups = json_encode($this->attrGroups,JSON_UNESCAPED_UNICODE);
|
// $this->model->attr_groups = json_encode($this->attrGroups,JSON_UNESCAPED_UNICODE);
|
||||||
$this->model->attr_groups = 1; //商品规格组 用不到看表 0 不需要规格组
|
$this->model->attr_groups = 1; //商品规格组 用不到看表 0 不需要规格组
|
||||||
|
|
||||||
$this->model->date = (int)strtotime($this->date . "-01-01");
|
$this->model->date = strtotime($this->date);
|
||||||
|
|
||||||
|
|
||||||
//保存商品基础信息
|
//保存商品基础信息
|
||||||
$res = $this->saveGoodsHub();
|
$res = $this->saveGoodsHub();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user