feat : catering

This commit is contained in:
2025-03-11 10:16:18 +08:00
parent e3ecd93b2d
commit d9f52ac755
7 changed files with 69 additions and 12 deletions

View File

@@ -25,7 +25,7 @@ trait CouponDispenseTrait
$this->cycleId = $cycleInfo->id;
$appointValue = json_encode($this->request->input('appoint_value'));
$appointValue = $this->request->input('appoint_value');
// if ($this->groupType == CouponCode::DISPENSE_APPOINT_GROUP_DESIGNATED_SITES_AND_GOODS) {
// $this->appointValue = [
// 'site' => explode(',', $appointValue['site']),
@@ -152,7 +152,7 @@ trait CouponDispenseTrait
{
$this->checkAppointValue();
$appointValue = json_encode($this->request->input('appoint_value'));
$appointValue = $this->request->input('appoint_value');
return explode(',', $appointValue['user_ids']);
}