Files
gao-customer-h5/src/api/GaoRoleAPI.ts
T
2026-09-23 21:54:19 +08:00

12 lines
310 B
TypeScript

import { axios } from "timi-web-api";
import type { Role } from "timi-web-api";
const BASE_URI = "/gao/role";
export const GaoRoleAPI = {
/** 查询登录用户所属门店内可管理的角色。 */
async managementList(): Promise<Role[]> {
return await axios.post(`${BASE_URI}/management/list`);
}
};