From 7987f64d9e0d634196690731a2b5f111155083bf Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Tue, 26 Mar 2024 12:33:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/Api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/Api.php b/app/api/controller/Api.php index 78a98db..fee6991 100644 --- a/app/api/controller/Api.php +++ b/app/api/controller/Api.php @@ -38,7 +38,7 @@ class Api } } TaskList::strict(false)->field(true)->insertGetId($param); - return to_assign(); + return json(['code' => 0, 'msg' => '操作成功']); } } } \ No newline at end of file