wzq 5 yıl önce
ebeveyn
işleme
028544ba62

+ 1 - 1
app/Http/Controllers/V1/CategoryController.php

@@ -24,7 +24,7 @@ class CategoryController extends Controller {
     //列表
     public function index(Request $request) {
         $data = $categoryList = $this->categoryRepository->lists($request->all());
-        return jsonSuccess($data);
+        return jsonSuccess(['topic_category' => $data]);
 }
     //获取多个话题
     public function getTopics(Request $request){