退出登陆

javascript 复制代码
WXAPI.loginout(token)
  • token 当前登陆凭证
json 复制代码
{
	code: 0,
  msg: 'success'
}

调用该接口以后,建议同步删除本地存储的 token 数据