From 6df8cae94062cb7292ed66b2c71cfdc2364fb117 Mon Sep 17 00:00:00 2001 From: wangjinlei <751475802@qq.com> Date: Tue, 7 Jul 2026 09:36:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E8=AF=B7=E9=9D=92=E5=B9=B4=E7=BC=96?= =?UTF-8?q?=E5=A7=94=EF=BC=8C=E5=A2=9E=E5=8A=A0=E5=AF=B9=E5=B7=B2=E7=BB=8F?= =?UTF-8?q?=E6=98=AF=E7=9A=84=E4=BA=BA=EF=BC=8C=E9=98=BB=E6=AD=A2=E7=94=B3?= =?UTF-8?q?=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Ucenter.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/application/api/controller/Ucenter.php b/application/api/controller/Ucenter.php index bc5a29e5..638ce7d2 100644 --- a/application/api/controller/Ucenter.php +++ b/application/api/controller/Ucenter.php @@ -164,7 +164,10 @@ class Ucenter extends Base{ if($check){ return jsonError("Your application for Editorial Board is processing. Please do not repeat it."); } - + $check_has = $this->user_to_yboard_obj->where('user_id',$data['user_id'])->where('state',0)->find(); + if ($check_has){ + return jsonError("You have already applied for Editorial Board."); + } //判断是否上传CV $aWhere = ['user_id' => $data['user_id'],'state' => 0]; $aCv = $this->user_cv_obj->field('user_cv_id')->where($aWhere)->find();