From 40957f1402ee63d1f38d700dccc6c2ef61ea4c01 Mon Sep 17 00:00:00 2001 From: chengxl Date: Mon, 20 Oct 2025 16:55:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=9F=A5=E8=AF=A2=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Chief.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/application/api/controller/Chief.php b/application/api/controller/Chief.php index 983ad6c..368a54c 100644 --- a/application/api/controller/Chief.php +++ b/application/api/controller/Chief.php @@ -531,6 +531,14 @@ class Chief extends Controller { public function checkEmailForUser(){ $data = $this->request->post(); $user_info = $this->user_obj->where('account|email',$data['email'])->find(); + + //新增查询数据 chengxiaoling 20251020 start + if(!empty($user_info)){ + $aWhere = ['reviewer_id' => $user_info['user_id']]; + $user_reviewer_info = Db::name('user_reviewer_info')->field('technical,company as affiliation,website,field as research_areas')->where($aWhere)->find(); + $user_info = empty($user_reviewer_info) ? $user_info : array_merge($user_info,$user_reviewer_info); + } + //新增查询数据 chengxiaoling 20251020 end $re['user_info'] = $user_info; return jsonSuccess($re); }