diff --git a/app/Service/CouponRebateService.php b/app/Service/CouponRebateService.php index 3864091..a3384ff 100644 --- a/app/Service/CouponRebateService.php +++ b/app/Service/CouponRebateService.php @@ -338,7 +338,7 @@ class CouponRebateService implements CouponRebateServiceInterface ->update(['rebate_type' => 2]); //更新库存操作 Db::table('ims_system_coupon_user') - ->where('id', $active['repay']['repay']) + ->where('id', $active['repay']) ->increment('inventory_use'); // 提交