From 267453cde4bfcca666e387c1701d1ccfe18cf358 Mon Sep 17 00:00:00 2001 From: ctexthuang Date: Thu, 23 Jan 2025 16:56:54 +0800 Subject: [PATCH] feat: place order --- app/Service/Api/Order/PlaceOrderService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Service/Api/Order/PlaceOrderService.php b/app/Service/Api/Order/PlaceOrderService.php index a90d279..8303753 100644 --- a/app/Service/Api/Order/PlaceOrderService.php +++ b/app/Service/Api/Order/PlaceOrderService.php @@ -20,7 +20,7 @@ class PlaceOrderService extends BaseOrderService * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface */ - public function handle() + public function handle(): array { $this->siteId = (int)$this->request->input('site_id'); $this->couponId = (int)$this->request->input('coupon_id',0);