From a09f7397cdae7da7ac6e4ae55b7dd4cb1ca75165 Mon Sep 17 00:00:00 2001 From: augushong Date: Fri, 1 May 2026 20:37:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=86=E6=96=87=E7=AB=A0=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E7=B1=BB=E5=9E=8B=E4=BB=8E'1'=E6=9B=B4=E6=94=B9?= =?UTF-8?q?=E4=B8=BA'3'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 当创建文章未指定类型时,系统原默认设置为'1',现根据业务需求调整为'3'以匹配新的文章分类标准。 --- app/api/controller/Articles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/Articles.php b/app/api/controller/Articles.php index fb7e226..56711f5 100644 --- a/app/api/controller/Articles.php +++ b/app/api/controller/Articles.php @@ -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;