mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-07-01 17:52:48 +08:00
fix: 将文章默认类型从'1'更改为'3'
当创建文章未指定类型时,系统原默认设置为'1',现根据业务需求调整为'3'以匹配新的文章分类标准。
This commit is contained in:
@@ -107,7 +107,7 @@ class Articles extends BaseController
|
||||
$post_data['update_time'] = time();
|
||||
|
||||
if (!isset($post_data['type'])) {
|
||||
$post_data['type'] = '1';
|
||||
$post_data['type'] = '3';
|
||||
}
|
||||
if (!isset($post_data['status'])) {
|
||||
$post_data['status'] = 0;
|
||||
|
||||
Reference in New Issue
Block a user