Prechádzať zdrojové kódy

修改接口获取通栏列表

15313670163 2 dní pred
rodič
commit
9d7f0362f5
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      app/JsonRpc/PublicRpcService.php

+ 1 - 0
app/JsonRpc/PublicRpcService.php

@@ -1016,6 +1016,7 @@ class PublicRpcService implements PublicRpcServiceInterface
             ->leftJoin('template_class', 'template_class.class_id', '=', 'template.template_class_id') 
             ->leftJoin('sector_place', 'sector_place.sector_type', '=', 'sector.place_type')
             ->where($where)
+            ->where('sector_place.type_id',1)
             ->select('sector.*', 'size.width','size.height','template_class.name as class_name','template.template_name'
             ,'sector_place.name as place_name','sector_place.sector_img as place_img')
             ->orderBy('sector.id', 'desc')