diff --git a/app/common/model/store/product/Product.php b/app/common/model/store/product/Product.php index 21e9b6e4..1462a635 100644 --- a/app/common/model/store/product/Product.php +++ b/app/common/model/store/product/Product.php @@ -37,6 +37,8 @@ class Product extends BaseModel protected $deleteTime = 'is_del'; protected $defaultSoftDelete = 0; + protected $updateTime = true; + const IS_SHOW = 1; //上架 const IS_NOT_SHOW = 0; //下架