瀏覽代碼

:bug: Fixing a bug. 修复 check_token 地址

aeizzz 1 年之前
父節點
當前提交
40594d5283
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/api/login.js

+ 1 - 1
src/api/login.js

@@ -134,7 +134,7 @@ export const checkToken = (refreshLock, $store) => {
   let basicAuth = getStore({name: 'basicAuth'})
   let basicAuth = getStore({name: 'basicAuth'})
 
 
   request({
   request({
-    url: '/admin/oauth2/check_token',
+    url: '/admin/token/check_token',
     headers: {
     headers: {
       isToken: false,
       isToken: false,
       Authorization: basicAuth
       Authorization: basicAuth