LiuJ 1 일 전
부모
커밋
ba0cbd96e4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/JsonRpc/WebsiteService.php

+ 1 - 1
app/JsonRpc/WebsiteService.php

@@ -1472,7 +1472,7 @@ class WebsiteService implements WebsiteServiceInterface
             //获取所有数据
             $result = WebsiteCategory::where(['website_id' => $website_id, 'path' => NULL])->get()->toArray();
             if (empty($result)) {
-                return Result::error("没有数据", 0);
+                // return Result::error("没有数据", 0);
             }
             //处理path
             foreach ($result as $key => $value) {