Browse Source

修改接口

lxr 5 ngày trước cách đây
mục cha
commit
fa9bacb7ce
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/api/modules/login.ts

+ 1 - 1
src/api/modules/login.ts

@@ -41,5 +41,5 @@ export const getAuthButtonListApi = () => {
 
 // 用户退出登录
 export const logoutApi = () => {
-  return http.post(PORT_NONE + `/sys/logout`);
+  return http.post(`/sys/logout`);
 };