fix: 优化用户列表接口

This commit is contained in:
taojinlong
2025-05-15 15:16:45 +08:00
committed by taojinlong
parent e27fb349b7
commit b07229d5d6
2 changed files with 7 additions and 0 deletions

View File

@@ -18,6 +18,9 @@ export const userSelectedForRoleApi = (page: number, limit: number, data) =>
export const userPageApi = (page: number, limit: number, data) =>
request.post({ url: `/user/pager/${page}/${limit}`, data })
export const personSysVariableInfoApi = uid =>
request.get({ url: `/user/personSysVariableInfo/${uid}` })
export const userCreateApi = data => request.post({ url: '/user/create', data })
export const userEditApi = data => request.post({ url: '/user/edit', data })

View File

@@ -52,6 +52,10 @@ public interface UserApi {
@GetMapping("/personInfo")
UserFormVO personInfo();
@Operation(summary = "查询用户系统变量信息")
@GetMapping("/personSysVariableInfo/{id}")
UserGridVO personSysVariableInfo(@PathVariable("id") Long id);
@Operation(summary = "查询客户端IP信息")
@GetMapping("/ipInfo")
CurIpVO ipInfo();