refactor: 修改自动写入时间的格式为在数据库配置文件配置

This commit is contained in:
2025-02-27 14:36:26 +08:00
parent 348d51a2c4
commit 3cb69bb32a
9 changed files with 2 additions and 18 deletions

View File

@@ -16,8 +16,6 @@ class AttachmentModel extends AttachmentBaseModel
use SoftDelete;
// 软删除字段
protected $deleteTime = 'deleted_at';
// 自动写入时间格式
protected $autoWriteTimestamp = 'datetime';
// JSON字段
protected $json = ['attach'];