Browse Source

修改接口:自助建站-流程管理-获取所有组件

15313670163 13 hours ago
parent
commit
c8d5c84365
1 changed files with 1 additions and 3 deletions
  1. 1 3
      app/JsonRpc/PublicRpcService.php

+ 1 - 3
app/JsonRpc/PublicRpcService.php

@@ -2204,10 +2204,8 @@ class PublicRpcService implements PublicRpcServiceInterface
         }
         if(isset($data['page_type']) && !empty($data['page_type'])){
             array_push($where,['page_type', 'like', '%'.$data['page_type'].'%']);
-            // $where['page_type'] = ['like','%'.$data['page_type'].'%'];
         }
-        // return Result::success($where);
-        $sector = Sector::where($where)->get()->all();
+        $sector = Sector::where($where)->where('status','!=',0)->get()->all();
         if(empty($sector)){
             return Result::error('通栏不存在!');
         }