登录后获取信息,用于判断登录后是否过期

This commit is contained in:
2026-09-12 15:51:53 +08:00
parent fe47a38a13
commit 60d7ecea5f
2 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ export function login(data) {
// 获取用户信息
export function getUserInfo() {
return request({
url: '/user/info',
url: '/userInfo',
method: 'get'
})
}