logout 退出登录
logout ^7.8
退出登录
#请求参数
N/A
#接口调用示例
this.$bridge
.logout()
.then((res) => {
this.$alert(res);
})
.catch((err) => {
this.$toast(err);
});
#接口返回示例
// 退出成功,退出当前页面
{
code: 0,
msg:"退出成功"
}
// 失败返回
{
code: -1,
msg: '当前是未登录状态', // "退出失败"或者“当前是未登录状态”
}
浙公网安备 33010602011771号