15313670163 1 сар өмнө
parent
commit
46a001962f

+ 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)){