diff --git a/app/controller/api/Coupon.php b/app/controller/api/Coupon.php index 92cfc40..e064251 100644 --- a/app/controller/api/Coupon.php +++ b/app/controller/api/Coupon.php @@ -752,6 +752,8 @@ class Coupon extends Base "distributed_coupon_main_id" => $coupon->couponMain->id, ]; + Db::rollback(); + return $this->json(4001,"agencyMoney{$agencyMoney}"); //发起支付 $agencyResult = $payment->transfer->toBalance($agencyToBalanceData);