diff --git a/app/api/controller/LogisticController.php b/app/api/controller/LogisticController.php index 633485b..a3f47db 100644 --- a/app/api/controller/LogisticController.php +++ b/app/api/controller/LogisticController.php @@ -25,7 +25,8 @@ } //物流信息详情 - public function detail() { + public function detail(): Json + { $params = $this->request->get(['id']); if(empty($params['id'])){ return $this->fail('参数错误');