refactor: 新增/编辑操作中未有启用状态字段的添加启用状态字段

This commit is contained in:
2025-03-31 16:04:11 +08:00
parent 2798951f45
commit 33db39d5b0
5 changed files with 9 additions and 1 deletions

View File

@@ -93,6 +93,7 @@ class Article
'content',
'recommend',
'release_time',
'enabled' => 1,
'seo_title',
'seo_keywords',
'seo_desc',
@@ -125,6 +126,7 @@ class Article
'content',
'recommend',
'release_time',
'enabled',
'seo_title',
'seo_keywords',
'seo_desc',

View File

@@ -91,6 +91,7 @@ class Attachment
'applicable_to',
'support_platform',
'attach',
'status' => 1,
'seo_title',
'seo_keywords',
'seo_desc'
@@ -126,6 +127,7 @@ class Attachment
'applicable_to',
'support_platform',
'attach',
'status',
'seo_title',
'seo_keywords',
'seo_desc'

View File

@@ -98,7 +98,7 @@ class BannerItem
'link_to' => 'custom',
'link',
'sort',
'status'
'status' => 1
]);
$validate = new SysBannerItemValidate;