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