|
@@ -4696,7 +4696,6 @@ class WholeController extends Curd
|
|
|
}
|
|
|
|
|
|
if ($order->order_status_payment == 'SUCCESS') {
|
|
|
- $this->deductAccount($order->order_id, $order->order_groupby, 'WXPAY');
|
|
|
return json_success('success');
|
|
|
}
|
|
|
|
|
@@ -4727,7 +4726,7 @@ class WholeController extends Curd
|
|
|
// 支付记录
|
|
|
PayDetail::where('join_pay_order_id', $order->order_groupby)->where('pay_prepayid', 'WXPAY')->update(['pay_status' => 'SUCCESS']);
|
|
|
// 其他支付方式 扣
|
|
|
- $this->deductAccount($order->order_groupby, 'WXPAY');
|
|
|
+// $this->deductAccount($order->order_groupby, 'WXPAY');
|
|
|
// 优惠券标记使用
|
|
|
$this->changeOrderCouponStatus($discountJson, 'USED');
|
|
|
|
|
@@ -4758,7 +4757,7 @@ class WholeController extends Curd
|
|
|
// 支付记录
|
|
|
PayDetail::where('join_pay_order_id', $order->order_groupby)->where('pay_prepayid', 'ALIPAY')->update(['pay_status' => 'SUCCESS']);
|
|
|
// 其他支付方式 扣
|
|
|
- $this->deductAccount($order->order_groupby, 'ALIPAY');
|
|
|
+// $this->deductAccount($order->order_groupby, 'ALIPAY');
|
|
|
// 优惠券标记使用
|
|
|
$this->changeOrderCouponStatus($discountJson, 'USED');
|
|
|
Db::commit();
|