申请青年编委加CV验证

This commit is contained in:
chengxl
2025-11-10 13:37:32 +08:00
parent 83cf3ae0f3
commit 4ac84c199e

View File

@@ -163,6 +163,14 @@ class Ucenter extends Base{
if($check){
return jsonError("Your application for Editorial Board is processing. Please do not repeat it.");
}
//判断是否上传CV
$aWhere = ['user_id' => $data['user_id'],'state' => 0];
$aCv = $this->user_cv_obj->field('user_cv_id')->where($aWhere)->find();
if(empty($aCv)){
return jsonError("Please upload CV");
}
$insert['user_id'] = $data['user_id'];
$insert['journal_id'] = $data['journal_id'];
$insert['ctime'] = time();