张涛
2024-11-18 3ffa64648831ceade32fba83047d0e99ff92c990
src/api/authority.ts
@@ -13,7 +13,7 @@
  createTime: string;
  status: string;
  psw: string;
  role: string;
  role: string[];
  roleName: string;
}
@@ -80,6 +80,7 @@
  knowledges: any;
  dialogs: any;
  agents: any;
  llms: any;
}
export function RoleList(params: Pagination) {
@@ -181,3 +182,9 @@
export function DialogList(role: string) {
  return axios.get<Result<any>>("/base/system/dialog/list" + "?role=" + role);
}
// 用户组相关
export function GroupList(params: Pagination) {
  return axios.post<Result<User[]>>("/api/group/group_list", { params });
}