diff --git a/high-unionPay/Utils/Api.js b/high-unionPay/Utils/Api.js index 320b882..449a204 100644 --- a/high-unionPay/Utils/Api.js +++ b/high-unionPay/Utils/Api.js @@ -539,10 +539,17 @@ export const getOrderByOrderNo = params => { } //----------------我的页面接口 - -// 手机号登录 +// 获取登录验证码 +export const getLoginSMSCode = params => { + return POST('POST', `${userbase}/sms/getLoginSMSCode`, params).then(res => res.data); +} +// 银联授权登录 export const unionPhoneLogin = params => { return POST('POST', `${userbase}/login/union`, params).then(res => res.data); +} +// 手机号登录 +export const phone = params => { + return POST('POST', `${userbase}/login/phone`, params).then(res => res.data); } // 获取用户信息 diff --git a/high-unionPay/member-Recharge/home/home.vue b/high-unionPay/member-Recharge/home/home.vue index 12c171a..49821c7 100644 --- a/high-unionPay/member-Recharge/home/home.vue +++ b/high-unionPay/member-Recharge/home/home.vue @@ -12,7 +12,7 @@ :currentSwiperLineActiveWidth="currentSwiperLineActiveWidth" :currentSwiperLineActiveHeight="currentSwiperLineActiveHeight" :currentSwiperLineActiveBg="currentSwiperLineActiveBg" - :currentSwiperLineAnimatie="currentSwiperLineAnimatie" v-if=" swiperTabList.length > 1 " + :currentSwiperLineAnimatie="currentSwiperLineAnimatie" v-if=" swiperTabList.length > 0 " @change="CurrentTab"> diff --git a/high-unionPay/member-Recharge/rec-confirmation/rec-confirmation.vue b/high-unionPay/member-Recharge/rec-confirmation/rec-confirmation.vue index 74807b6..0a7eb3c 100644 --- a/high-unionPay/member-Recharge/rec-confirmation/rec-confirmation.vue +++ b/high-unionPay/member-Recharge/rec-confirmation/rec-confirmation.vue @@ -277,8 +277,7 @@ let datas = { "companyId": app.globalData.companyId, "price": this.payPrice, - "productId": 3, - "type": 4, + "type": 3, } getRebateIntegral(datas).then(res => { if (res.return_code == '000000') { @@ -697,7 +696,9 @@