From bc893999319b118e12fe7dac907713fd8016979d Mon Sep 17 00:00:00 2001 From: wanghousheng Date: Wed, 31 Jan 2024 01:43:06 +0800 Subject: [PATCH] 1 --- app/api/controller/Recovery.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/api/controller/Recovery.php b/app/api/controller/Recovery.php index 16d92130..f3f99bba 100644 --- a/app/api/controller/Recovery.php +++ b/app/api/controller/Recovery.php @@ -56,7 +56,8 @@ class Recovery extends Controller return $this->renderError('缺少必要参数'); } $model = new RecoveryOrder(); - $model->getDetails($recoveryId); + $info = $model->getDetails($recoveryId); + return $this->renderSuccess(['detail' => $info]); } /**