商品添加更新时间

This commit is contained in:
luofei 2023-06-05 14:59:45 +08:00
parent 5a9fd1b8c4
commit ff623034c2

View File

@ -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; //下架