refactor: 修改自动写入时间的格式为在数据库配置文件配置
This commit is contained in:
@@ -16,8 +16,6 @@ class ProductModel extends ProductBaseModel
|
||||
use SoftDelete;
|
||||
// 软件字段
|
||||
protected $deleteTime = 'deleted_at';
|
||||
// 修改自动写入时间格式
|
||||
protected $autoWriteTimestamp = 'datetime';
|
||||
|
||||
// 分类关联查询
|
||||
public function category()
|
||||
|
||||
Reference in New Issue
Block a user