feat : coupon

This commit is contained in:
2025-03-21 16:15:28 +08:00
parent 11a36ece80
commit 8a4674b1dc
11 changed files with 190 additions and 11 deletions

View File

@@ -49,10 +49,12 @@ class OrderListService extends BaseService
/**
* @return array
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function handle(): array
{
$limit = $this->request->input('limit', 20);
$limit = (int)$this->request->input('limit', 20);
$orderList = $this->orderModel
->where('user_id', $this->userId)