From 5724deb764a1dbba0576067640043c02c93a286a Mon Sep 17 00:00:00 2001 From: Wik-T <812952667@qq.com> Date: Thu, 30 Mar 2023 10:29:18 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=96=B0=E5=A2=9E=E9=80=80=E5=87=BA=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- high-unionPay/Utils/Api.js | 4 ++ high-unionPay/pages/tabBar/user/user.vue | 68 +++++++++++++++++++++--- 2 files changed, 66 insertions(+), 6 deletions(-) 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