15313670163 1 개월 전
부모
커밋
83c415026e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/JsonRpc/NewsService.php

+ 1 - 1
app/JsonRpc/NewsService.php

@@ -456,7 +456,7 @@ class NewsService implements NewsServiceInterface
             return Result::error("查询失败",0);
         }
         $result['category_id'] = $category['category_id'];
-        $result['cat_name'] = $category['name'];
+        $result['cat_name'] = $category['alias'];
         return Result::success($result);
     }
     /**