Browse Source

修改user接口

machen 1 year ago
parent
commit
3993f87ec6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/api/user.js

+ 2 - 2
src/api/user.js

@@ -10,8 +10,8 @@ export function login(data) {
 
 export function getInfo(token) {
   return request({
-    url: 'vue-admin-template/user/info',
-    method: '/get',
+    url: '/info',
+    method: 'get',
     params: { token }
   })
 }