增加个人中心
This commit is contained in:
@@ -5,7 +5,6 @@ import router from '@/router'
|
||||
import { getUserInfo,clearUserInfoCache } from './userinfo'
|
||||
|
||||
const SERVER_BASE = API_BASE.APP_MEMBER
|
||||
const TIK_BASE = API_BASE.APP_TIK
|
||||
|
||||
/**
|
||||
* 保存token
|
||||
@@ -201,7 +200,7 @@ export function getUserInfoAuth() {
|
||||
* @returns {Promise<Object>} 用户档案
|
||||
*/
|
||||
export async function getUserProfile() {
|
||||
const { data } = await api.get(`${TIK_BASE}/muye/member-profile/get`)
|
||||
const { data } = await api.get(`/webApi/api/tik/muye/member-profile/get`)
|
||||
return data
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user