repository = $repository; } /*京东订单*/ public function jdOrder(){ [$page, $limit] = $this->getPage(); $where = $this->request->params(['date','order_sn','status','keywords','bill_status']); return app('json')->success($this->repository->GetJdOrder($where, $page, $limit)); } /*唯品会订单*/ public function wphOrder(){ [$page, $limit] = $this->getPage(); $where = $this->request->params(['date','order_sn','order_status','keywords','bill_status','settled']); return app('json')->success($this->repository->GetVipOrder($where, $page, $limit)); } /*拼多多订单*/ public function pddOrder(){ [$page, $limit] = $this->getPage(); $where = $this->request->params(['date','order_sn','pin_order_status','keywords','bill_status']); return app('json')->success($this->repository->GetPddOrder($where, $page, $limit)); } /*苏宁订单*/ public function suOrder(){ [$page, $limit] = $this->getPage(); $where = $this->request->params(['date','order_sn','status','keywords','bill_status']); return app('json')->success($this->repository->GetSuOrder($where, $page, $limit)); } /*淘宝订单*/ public function tbOrder(){ [$page, $limit] = $this->getPage(); $where = $this->request->params(['date','order_sn','tk_status','keywords','bill_status']); return app('json')->success($this->repository->GetTbOrder($where, $page, $limit)); } /*详情*/ public function detail($id){ $table = $this->request->params(['table']); return app('json')->success($this->repository->GetThirdDetail($id,$table['table'])); } }