| | |
| | | queryMyUseSweepPayMaxCoupon, |
| | | getWechatConfigInfo, |
| | | saveWxOrder, |
| | | saveOrder, |
| | | tlPay |
| | | } from '@/common/api/index' |
| | | import wx from 'weixin-js-sdk'; // 使用js-sdk |
| | |
| | | }, |
| | | // 获取会员相关信息 |
| | | getUserInfo() { |
| | | this.end += 2 |
| | | this.end += 1 |
| | | |
| | | queryMyDiscount({ |
| | | /*queryMyDiscount({ |
| | | shopId: this.shopInfo.id |
| | | }).then(res => { |
| | | this.count++ |
| | |
| | | if (this.count >= this.end) { |
| | | uni.hideLoading() |
| | | } |
| | | }) |
| | | })*/ |
| | | /* //获取用户银行卡 |
| | | myBankCard().then(res => { |
| | | this.count++ |
| | |
| | | params.bankCardId = this.bankCardId |
| | | } |
| | | //生成订单 |
| | | saveWxOrder(params).then(res => { |
| | | saveOrder(params).then(res => { |
| | | uni.hideLoading() |
| | | try { |
| | | this.orderId = res.orderId |