mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-11-15 21:23:41 +08:00
fix(other): 修正了获取用户信息后端接口
This commit is contained in:
@@ -27,7 +27,7 @@ export function fetchLogin(userName: string, password: string) {
|
||||
|
||||
/** Get user info */
|
||||
export function fetchGetUserInfo() {
|
||||
return request<Api.Auth.UserInfo>({ url: '/auth/getUserInfo' });
|
||||
return request<Api.Auth.UserInfo>({ url: '/user/getUserInfo' });
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user