// +---------------------------------------------------------------------- declare (strict_types=1); namespace app\api\controller\dealer; use think\response\Json; use app\api\controller\Controller; use app\api\model\dealer\Order as OrderModel; /** * 分销商订单 * Class Order * @package app\api\controller\user\dealer */ class Order extends Controller { /** * 分销商订单列表 * @return Json * @throws \cores\exception\BaseException * @throws \think\db\exception\DbException */ public function list(): Json { // 分销商订单列表 $model = new OrderModel; $list = $model->getList($this->request->param()); return $this->renderSuccess(compact('list')); } }