LiuJ 1 dia atrás
pai
commit
ba0cbd96e4
1 arquivos alterados com 1 adições e 1 exclusões
  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) {