From 831e0581d679e0e68b526dac88abbe73dfcfa7a3 Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 5 Feb 2024 16:29:30 +0800 Subject: [PATCH] =?UTF-8?q?edit=E4=BF=AE=E6=94=B9=E6=97=A5=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/common/CommonGoodsEditForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/common/CommonGoodsEditForm.php b/models/common/CommonGoodsEditForm.php index 207a4e7..85ab365 100644 --- a/models/common/CommonGoodsEditForm.php +++ b/models/common/CommonGoodsEditForm.php @@ -142,7 +142,7 @@ class CommonGoodsEditForm extends Model $this->model->use_attr = $this->use_attr; // $this->model->attr_groups = 1; //商品规格组 用不到看表 0 不需要规格组 } - $this->model->date = strtotime($this->date); + $this->model->date = strtotime($this->date."-01-01"); //保存商品基础信息 $res = $this->saveGoodsHub();