Browse Source

修改接口:通栏版式管理-删除通栏版式

15313670163 19 hours ago
parent
commit
37ddcbd7bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/JsonRpc/PublicRpcService.php

+ 1 - 1
app/JsonRpc/PublicRpcService.php

@@ -1785,7 +1785,7 @@ class PublicRpcService implements PublicRpcServiceInterface
         }
         }
         if($sector_place['type_id'] == 1){
         if($sector_place['type_id'] == 1){
             $sector = Sector::where('place_type', $sector_place['sector_type'])->first();
             $sector = Sector::where('place_type', $sector_place['sector_type'])->first();
-            $component = SectorPlace::where('place_type', $sector_place['sector_type'])
+            $component = SectorPlace::where('sector_type', $sector_place['sector_type'])
             ->where('type_id',2)
             ->where('type_id',2)
             ->first();
             ->first();
             if(!empty($sector) || !empty($component)){
             if(!empty($sector) || !empty($component)){