更新
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* @Date: 2020-12-14 09:07:03
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @LastEditTime: 2021-12-06 15:14:46
|
||||
* @LastEditors: zwq
|
||||
* @LastEditTime: 2022-01-11 15:45:54
|
||||
* @FilePath: \basic-admin\src\api\user.js
|
||||
* @Description: 用户管理 & 登录用户的相关api接口定义
|
||||
*/
|
||||
@@ -27,13 +27,13 @@ export function logout() {
|
||||
})
|
||||
}
|
||||
// 获取当前登录的用户信息
|
||||
// export function getUserInfo(data) {
|
||||
// return request({
|
||||
// url: '/passport/getLoginUser',
|
||||
// method: 'post',
|
||||
// data
|
||||
// })
|
||||
// }
|
||||
export function getUserInfo(data) {
|
||||
return request({
|
||||
url: '/api/passport/getLoginUser',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改当前用户密码
|
||||
export function editUserPW(data) {
|
||||
|
||||
Reference in New Issue
Block a user