You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<?php
namespace App\Controller;
use App\Constants\ErrorCode;use App\Exception\BusinessException;use App\Service\OrderListServiceInterface;use http\Client\Curl\User;use Hyperf\Di\Annotation\Inject;
class OrderListController extends BaseController{ /** * @Inject * @var OrderListServiceInterface */ protected $orderListService; /** * 店铺订单列表 */ public function storeOrderList() { $res = $this->orderListService->storeOrderList($this->request->all()); return $this->success($res); } /** * 用户订单列表 */ public function userOrderList() { $res = $this->orderListService->userOrderList($this->request->all()); return $this->success($res); }
}
|