Browse Source

添加退出登录接口

yuxingxing 2 years ago
parent
commit
977d3b9d82
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/user.js

+ 1 - 1
api/user.js

@@ -334,7 +334,7 @@ export function userEdit(data) {
  * 退出登录
  * */
 export function getLogout() {
-	return request.get("logout");
+	return request.get("v1/logout");
 }
 /**
  * 小程序充值