Ver Fonte

Revert "fix"

This reverts commit 6df5cce7d9ce5cdc7a4a493288bf481c28ca46ae.
Darkhorsedamon há 2 anos atrás
pai
commit
d04448ff0f
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      middleware/user.js

+ 2 - 2
middleware/user.js

@@ -3,11 +3,11 @@
  * @Author: 欧阳承珺
  * @LastEditors: 欧阳承珺
  * @Date: 2022-11-08 09:15:06
- * @LastEditTime: 2022-11-16 17:30:14
+ * @LastEditTime: 2022-11-16 13:58:30
  */
 export default function({store, app: {$axios}}) {
   if(store?.state?.token !== '') {
-    return $axios.get('/17pdf-backend-core/members/getMemberInfo').then((res)=> {
+    return $axios.get('members/getMemberInfo').then((res)=> {
       if(res.code === 200) {
         store.commit('setUser',res.result.memberInfo)
       }