From 2f921a4ea2d53f45b7867f6b958d781d0581cc74 Mon Sep 17 00:00:00 2001 From: chengxl Date: Tue, 3 Feb 2026 17:28:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E7=BB=88=E5=AE=A1=E5=AE=A1?= =?UTF-8?q?=E7=A8=BF=E4=BA=BA=E7=9A=84=E6=9C=BA=E6=9E=84=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Finalreview.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/application/api/controller/Finalreview.php b/application/api/controller/Finalreview.php index bbb57a8..7146d61 100644 --- a/application/api/controller/Finalreview.php +++ b/application/api/controller/Finalreview.php @@ -1167,9 +1167,16 @@ class Finalreview extends Base if(empty($aReviewerFinal)){ return json_encode(['status' => 3,'msg' => 'Review record does not exist or review has been completed']); } + //查询审稿人基本信息 $aWhere = ['user_id' => $iReviewerId]; $aUser = Db::name('user')->field('realname')->where($aWhere)->find(); $aReviewerFinal['realname'] = empty($aUser['realname']) ? '' : $aUser['realname']; + //查询审稿人机构 + if(!empty($aUser)){ + $aWhere = ['reviewer_id' => $iReviewerId,'state' => 0]; + $aReviewerInfo = Db::name('user_reviewer_info')->field('company')->where($aWhere)->find(); + $aReviewerFinal['company'] = empty($aReviewerInfo['company']) ? '' : $aReviewerInfo['company']; + } return json_encode(['status' => 1,'msg' => 'success','data' => $aReviewerFinal]); }