Parcourir la source

测试服修正代码

the_bug il y a 5 mois
Parent
commit
df3a171504
1 fichiers modifiés avec 0 ajouts et 18 suppressions
  1. 0 18
      app/JsonRpc/PublicRpcService.php

+ 0 - 18
app/JsonRpc/PublicRpcService.php

@@ -381,24 +381,6 @@ class PublicRpcService implements PublicRpcServiceInterface
 
     }
 
-    /**
-     * 查询职能列表
-     * @param array $data
-     * @return array
-     */
-    public function getDepartment(array $data): array
-    {
-        $where = [
-            'pid' => $data['pid'] ?? 0,
-        ];
-        $result = Department::where($where)->orderBy("sort", "desc")->get();
-        if (empty($result)) {
-            return Result::error("查询失败", 0);
-        } else {
-            return Result::success($result);
-        }
-    }
-
     /**
      * 后台获取职能部门
      * @param array $data