瀏覽代碼

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

15313670163 19 小時之前
父節點
當前提交
37ddcbd7bf
共有 1 個文件被更改,包括 1 次插入1 次删除
  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){
             $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)
             ->first();
             if(!empty($sector) || !empty($component)){