import { http } from "@/utils/http"; type Result = { success: boolean; data: Array; }; /** * * @returns 分页查询应用子库 */ export const getSubLibraryList = (data?: object) => { return http.request("get", "/know-sub/applicationSubLibrary/list", { params: data }); }; /** * * @returns 分页查询部门信息列表 */ export const getDeptManageList = (data?: object) => { return http.request("get", "/know-sub/deptManage/list", { params: data }); }; /** * * @returns 新建子库 */ export const createSubLibrary = (data?: object) => { return http.request("post", "/know-sub/applicationSubLibrary/save", { data }); };