feat : wechatPay callback
This commit is contained in:
@@ -74,13 +74,13 @@ class CouponDispenseUser extends Model
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $userIds
|
||||
* @param int $userId
|
||||
* @return array
|
||||
*/
|
||||
public function getNoReceiveCountByUserIds(array $userIds): array
|
||||
public function getNoReceiveCountByUserId(int $userId): array
|
||||
{
|
||||
return $this
|
||||
->whereIn('user_id', $userIds)
|
||||
->where('user_id', $userId)
|
||||
->where('receive_count',CouponCode::DISPENSE_STATUS_IS_NO_RECEIVED)
|
||||
->pluck('coupon_dispense_id')
|
||||
->toArray();
|
||||
|
||||
Reference in New Issue
Block a user