feat : user

This commit is contained in:
2025-03-03 16:21:38 +08:00
parent e92a1cd8c0
commit d6f9f348da
12 changed files with 361 additions and 12 deletions

View File

@@ -9,6 +9,7 @@ use App\Middleware\Api\JwtAuthMiddleware;
use App\Service\Api\Order\CancelOrderService;
use App\Service\Api\Order\CheckCartService;
use App\Service\Api\Order\ConfirmationOrderService;
use App\Service\Api\Order\OrderListService;
use App\Service\Api\Order\PlaceOrderService;
use App\Service\Api\Order\RefundOrderService;
use Hyperf\HttpServer\Annotation\Controller;
@@ -86,8 +87,10 @@ class OrderController extends AbstractController
return (new RefundOrderService)->handle();
}
#[RequestMapping(path: 'order_list',methods: 'post')]
#[Scene(scene: 'order_list')]
public function orderList()
{
return (new OrderListService)->handle();
}
}