feat : coupon

This commit is contained in:
2025-03-18 17:43:46 +08:00
parent c7b667dc61
commit 67dc58e90b
5 changed files with 101 additions and 22 deletions

View File

@@ -47,8 +47,8 @@ class UserCoupon extends Model
{
return $this
->where('user_id', $user_id)
->whereIn('coupon_id', $couponIdArr)
->pluck('coupon_id')
->whereIn('coupon_dispense_id', $couponIdArr)
->pluck('coupon_dispense_id')
->toArray();
}