石广澎
2024-06-13 2a93afc95dda6afd1479af042e178b3e84a0c8c4
pages/pay/scanpay.vue
@@ -173,6 +173,7 @@
      queryMyUseSweepPayMaxCoupon,
      getWechatConfigInfo,
      saveWxOrder,
      saveOrder,
      tlPay
   } from '@/common/api/index'
   import wx from 'weixin-js-sdk'; // 使用js-sdk
@@ -418,9 +419,9 @@
         },
         // 获取会员相关信息
         getUserInfo() {
            this.end += 2
            this.end += 1
            queryMyDiscount({
            /*queryMyDiscount({
               shopId: this.shopInfo.id
            }).then(res => {
               this.count++
@@ -435,7 +436,7 @@
               if (this.count >= this.end) {
                  uni.hideLoading()
               }
            })
            })*/
            /* //获取用户银行卡
            myBankCard().then(res => {
               this.count++
@@ -560,7 +561,7 @@
                  params.bankCardId = this.bankCardId
               }
               //生成订单
               saveWxOrder(params).then(res => {
          saveOrder(params).then(res => {
                  uni.hideLoading()
                  try {
                     this.orderId = res.orderId