You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
const {
|
|
logout
|
|
} = require('../../lib/utils/logout')
|
|
|
|
/**
|
|
* 用户退出登录
|
|
* @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#logout
|
|
* @returns
|
|
*/
|
|
module.exports = async function () {
|
|
await logout.call(this)
|
|
return {
|
|
errCode: 0
|
|
}
|
|
}
|