Explorar o código

获取所有栏目

15313670163 hai 1 mes
pai
achega
46a001962f
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      app/JsonRpc/WebsiteService.php

+ 1 - 2
app/JsonRpc/WebsiteService.php

@@ -467,8 +467,7 @@ class WebsiteService implements WebsiteServiceInterface
     public function getWebsiteCategory(array $data): array
     {
         $where = [
-            'website_id'=>$data['website_id'],
-            'pid'=>0
+            'website_id'=>$data['website_id']
         ];
         $result = WebsiteCategory::where($where)->orderBy('sort','asc')->get();
         if(empty($result)){