feat : dispense
This commit is contained in:
@@ -122,7 +122,7 @@ trait CouponDispenseTrait
|
||||
->where('cycle_id',$this->cycleId)
|
||||
->whereIn('site_id',$this->appointValue['site'])
|
||||
->where('status',OrderCode::FINISH)
|
||||
->pluck('user_id','order_id')
|
||||
->pluck('user_id','id')
|
||||
->toArray();
|
||||
|
||||
if (empty($orderIds)) throw new Exception('未找到该周期该地点的订单');
|
||||
|
||||
Reference in New Issue
Block a user