perf: 使用/** */替换//注释,对编辑器的智能提示更友好

This commit is contained in:
xiaoxian521
2022-09-11 16:46:01 +08:00
parent fafbdc7c69
commit f14889ef56
15 changed files with 50 additions and 51 deletions

View File

@@ -11,17 +11,17 @@ type Result = {
msg?: string;
};
// 获取用户管理列表
/** 获取用户管理列表 */
export const getUserList = (data?: object) => {
return http.request<Result>("post", "/user", { data });
};
// 获取角色管理列表
/** 获取角色管理列表 */
export const getRoleList = (data?: object) => {
return http.request<Result>("post", "/role", { data });
};
// 获取部门管理列表
/** 获取部门管理列表 */
export const getDeptList = (data?: object) => {
return http.request<Result>("post", "/dept", { data });
};