From 2a93afc95dda6afd1479af042e178b3e84a0c8c4 Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期四, 13 六月 2024 14:03:36 +0800
Subject: [PATCH] feat(支付): 修改接口统一前缀
---
pages/pay/scanpay.vue | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/pages/pay/scanpay.vue b/pages/pay/scanpay.vue
index e4d5af6..dd713a0 100644
--- a/pages/pay/scanpay.vue
+++ b/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
--
Gitblit v1.9.1