From ad55193d5f33bd15373a78b226e2af37bd99632a Mon Sep 17 00:00:00 2001 From: wangxiaowei <1121133807@qq.com> Date: Mon, 2 Dec 2024 17:40:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=AC=E5=9C=B0=E7=94=9F?= =?UTF-8?q?=E6=B4=BB=E6=94=AF=E4=BB=98=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bundle_b/pages/local_shop/local_pay.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bundle_b/pages/local_shop/local_pay.vue b/bundle_b/pages/local_shop/local_pay.vue index dc4efc2..9afd468 100644 --- a/bundle_b/pages/local_shop/local_pay.vue +++ b/bundle_b/pages/local_shop/local_pay.vue @@ -419,10 +419,10 @@ local_goods_id: this.goods_id, } - if (this.lstore_id == 170) { + const acc_cust_id = parseInt(this.info.acc_cust_id) + if (acc_cust_id > 0) { gtpay(pay_data).then((result) => { if (result.code == 1) { - console.log('result=', result) const pay = { nonceStr: result.data.nonceStr, package: result.data.package, @@ -432,7 +432,7 @@ } pay_data.id = result.data.id - console.log('pay_data', pay_data) + pay_data.acc_cust_id = acc_cust_id this.handleWechatPay(pay, pay_data); } }) @@ -478,7 +478,7 @@ this.payMoney = this.money if (result === 'success') { - if (this.lstore_id == 170) { + if (data.acc_cust_id > 0) { checkOrder({ post: data })