增加user管理页面 修复了第一次登陆白屏bug
This commit is contained in:
@@ -22,4 +22,20 @@ export const regist = (data) => {
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// @Tags User
|
||||
// @Summary 分页获取用户列表
|
||||
// @Security ApiKeyAuth
|
||||
// @accept application/json
|
||||
// @Produce application/json
|
||||
// @Param data body modelInterface.PageInfo true "分页获取用户列表"
|
||||
// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}"
|
||||
// @Router /user/getUserList [post]
|
||||
export const getUserList = (data) => {
|
||||
return service({
|
||||
url: "/user/getUserList",
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user