Browse Source

删除之前不用的获取通栏版式的接口;替换为组件版式和通栏版式通用的接口

15313670163 2 ngày trước cách đây
mục cha
commit
d87de2fbad

+ 0 - 18
app/JsonRpc/PublicRpcService.php

@@ -1542,24 +1542,6 @@ class PublicRpcService implements PublicRpcServiceInterface
         }
         return Result::success($template);
     }
-    /**
-     * 自助建站-通栏管理-获取通栏位置
-     */
-    public function getSectorPlace(array $data): array
-    {
-        if(isset($data['sector_num']) && !empty($data['sector_num'])){
-            $where['sector_place.component_num'] = $data['sector_num'];
-            $template =  SectorPlace::where('sector_place.type_id',1)
-            ->where($where)
-            ->leftJoin('size','sector_place.size_id','=','size.id')
-            ->select('sector_place.*','size.width','size.height')
-            ->get();
-        }
-        if(empty($template)){
-            return Result::error('未查询到相关通栏版式!');
-        }
-        return Result::success($template);
-    }
 
     /**
      * 通栏版式管理-获取通栏版式列表

+ 0 - 1
app/JsonRpc/PublicRpcServiceInterface.php

@@ -181,7 +181,6 @@ interface PublicRpcServiceInterface
     public function getAllTemplate(array $data): array;
     public function getWebsiteTemplate(array $data): array;
     public function getAllSize(array $data): array;
-    public function getSectorPlace(array $data): array;
 
     // 通栏版式管理-获取通栏版式列表
     public function getSectorPlaceList(array $data): array;