refactor: 处理文章发布时间为空情况

This commit is contained in:
2025-03-26 17:12:49 +08:00
parent 49700b4373
commit 0cf8ed91ae
3 changed files with 8 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ class ArticleBaseModel extends BaseModel
'image' => 'string',
'desc' => 'string',
'recommend' => 'int',
'release_time' => 'int',
'release_time' => 'datetime',
'sort' => 'int',
'link' => 'string',
'content' => 'string',