diff --git a/api/login.js b/api/login.js index 14f3ff7..294867f 100644 --- a/api/login.js +++ b/api/login.js @@ -65,3 +65,12 @@ export function refreshTokenFn(refresh_token) { method: "GET", }); } + +// 获取密码状态 +export function logout () { + return http.request({ + url: '/members/logout', + method: "POST", + needToken: true, + }) +} diff --git a/pages/mine/set/setUp.vue b/pages/mine/set/setUp.vue index f73cae9..fbef2d5 100644 --- a/pages/mine/set/setUp.vue +++ b/pages/mine/set/setUp.vue @@ -27,6 +27,7 @@