Files
hyperf_service/app/Service/Api/Order/CheckCartService.php
2025-03-06 16:25:25 +08:00

32 lines
685 B
PHP

<?php
/**
* This service file is part of item.
*
* @author ctexthuang
* @contact ctexthuang@qq.com
*/
declare(strict_types=1);
namespace App\Service\Api\Order;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\NotFoundExceptionInterface;
class CheckCartService extends BaseOrderService
{
/**
* @return array
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function handle(): array
{
$this->siteId = (int)$this->request->input('site_id');
$this->orderType = (int)$this->request->input('order_type');
$this->check();
return $this->return->success();
}
}