diff --git a/src/api/base/user.ts b/src/api/base/user.ts index 55a7f42e..bec1a3c8 100644 --- a/src/api/base/user.ts +++ b/src/api/base/user.ts @@ -6,9 +6,7 @@ import { ErrorMessageMode } from '@/types/axios' enum Api { Login = '/system/auth/login', Logout = '/system/auth/logout', - GetUserInfo = '/system/auth/get-permission-info', - GetPermCode = '/getPermCode', - TestRetry = '/testRetry' + GetUserInfo = '/system/auth/get-permission-info' } /** @@ -33,23 +31,6 @@ export function getUserInfo() { return defHttp.get({ url: Api.GetUserInfo }, { errorMessageMode: 'none' }) } -export function getPermCode() { - return defHttp.get({ url: Api.GetPermCode }) -} - export function doLogout() { - return defHttp.get({ url: Api.Logout }) -} - -export function testRetry() { - return defHttp.get( - { url: Api.TestRetry }, - { - retryRequest: { - isOpenRetry: true, - count: 5, - waitTime: 1000 - } - } - ) + return defHttp.post({ url: Api.Logout }) } diff --git a/src/views/infra/codegen/EditTable.vue b/src/views/infra/codegen/EditTable.vue index 15749dca..137d2568 100644 --- a/src/views/infra/codegen/EditTable.vue +++ b/src/views/infra/codegen/EditTable.vue @@ -1,6 +1,6 @@