From a10352d47065bdc8c2570cb100911b484520a75d Mon Sep 17 00:00:00 2001 From: ztt <835303992@qq.com> Date: Sat, 24 Feb 2024 21:17:05 +0800 Subject: [PATCH] 1 --- app/api/controller/Order.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/Order.php b/app/api/controller/Order.php index d0b30c60..eab9b6bf 100644 --- a/app/api/controller/Order.php +++ b/app/api/controller/Order.php @@ -105,7 +105,7 @@ class Order extends Controller public function expressSearch(string $expressNo): Json { if(empty($expressNo)) { - $this->renderError('物流单号不能为空'); + return $this->renderError('物流单号不能为空'); } $transferRecordService = new TransferRecord(); $data = $transferRecordService->getExpressByExpressNo($expressNo);