修改本地生活支付条件

This commit is contained in:
wangxiaowei 2024-12-02 17:40:04 +08:00
parent eb20ffda52
commit ad55193d5f

@ -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
})