Browse Source

2023-5-22-1 新增服务区-2

yingzi 2 years ago
parent
commit
52e5c48b7b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/system/controller/ArticleController.php

+ 1 - 1
app/system/controller/ArticleController.php

@@ -35,7 +35,7 @@ class ArticleController
         if (!$article) {
             return app('json')->fail('文章不存在');
         }
-        return app('json')->success($article);
+        return app('json')->success(json_encode($article));
     }
 
     // 添加文章