diff --git a/high-unionPay/Utils/Api.js b/high-unionPay/Utils/Api.js index e6709c9..ba97897 100644 --- a/high-unionPay/Utils/Api.js +++ b/high-unionPay/Utils/Api.js @@ -564,6 +564,10 @@ export const phone = params => { // 获取用户信息 export const findUser = params => { return POST('POST', `${userbase}/getUserDetail`, params).then(res => res.data); +} +// 退出登录 +export const loginOut = params => { + return POST('POST', `${userbase}/login/out`, params).then(res => res.data); } // 获取用户余额 diff --git a/high-unionPay/pages/tabBar/user/user.vue b/high-unionPay/pages/tabBar/user/user.vue index 0b8a83b..b5ee6f0 100644 --- a/high-unionPay/pages/tabBar/user/user.vue +++ b/high-unionPay/pages/tabBar/user/user.vue @@ -174,6 +174,7 @@ + \ No newline at end of file