diff --git a/src/App.vue b/src/App.vue index 9d9d7f6..ee6f067 100644 --- a/src/App.vue +++ b/src/App.vue @@ -126,10 +126,10 @@ onMounted(() => { } }); /** 获取用户组织配额权限 */ - if (!localStorage.getItem('group_quota')) { - const { getUserCreateOrg } = getOrgInfo(); - getUserCreateOrg(); - } + // if (!localStorage.getItem('group_quota')) { + // const { getUserCreateOrg } = getOrgInfo(); + // getUserCreateOrg(); + // } checkoutFirstTime(); }); diff --git a/src/api/user/index.ts b/src/api/user/index.ts index 0d7104c..4472024 100644 --- a/src/api/user/index.ts +++ b/src/api/user/index.ts @@ -689,7 +689,7 @@ export function getUserToken(): catchRt { // 获取用户信息 export function getUserInfo(): catchRt { return reqCatchV2(() => request({ - url: '/api/v1/user/oauth/userInfo', + url: '/api/v1/user/info', method: 'get' }, { customError: true diff --git a/src/components/Header/Notice.vue b/src/components/Header/Notice.vue index 925ecd3..d40009e 100644 --- a/src/components/Header/Notice.vue +++ b/src/components/Header/Notice.vue @@ -1,6 +1,6 @@