request->get(); //组建where $status = isset($get['status']) ? $get['status'] : 0; $search = isset($get['search']) ? $get['search'] : ''; $where = ['merchantId' => $this->merchantId, 'status' => $status]; if (!empty($search)) { if (stringUtil::isMobieNumber($search)) { $where['receiveMobile'] = $search; } else { $where['id'] = $search; } } $list = OrderService::getOrderList($where); util::success($list); } //发货管理 shish 2019.11.30 public function actionSend() { } //向快递公司发起配送需求 public function actionExpress() { } //取消快递 public function actionCancelExpress() { $sendSide = 1; $sendTime = '10:21'; } //添加小费 public function actionAddTip() { } //结果回调通知 public function actionExpressCallback() { } //快递服务提供方 public function actionExpressProvide() { $data = ['id' => 1, 'name' => '达达']; util::success($data); } }