mirror of
https://github.com/dataease/dataease.git
synced 2026-05-14 21:12:33 +08:00
fix: 优化用户列表接口
This commit is contained in:
@@ -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 })
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user