add logout

This commit is contained in:
paulGao
2021-11-11 18:46:26 +08:00
parent 9671d60555
commit cdf57806d6
2 changed files with 16 additions and 4 deletions

View File

@@ -65,3 +65,12 @@ export function refreshTokenFn(refresh_token) {
method: "GET",
});
}
// 获取密码状态
export function logout () {
return http.request({
url: '/members/logout',
method: "POST",
needToken: true,
})
}