申请青年编委加CV验证
This commit is contained in:
@@ -163,6 +163,14 @@ class Ucenter extends Base{
|
|||||||
if($check){
|
if($check){
|
||||||
return jsonError("Your application for Editorial Board is processing. Please do not repeat it.");
|
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['user_id'] = $data['user_id'];
|
||||||
$insert['journal_id'] = $data['journal_id'];
|
$insert['journal_id'] = $data['journal_id'];
|
||||||
$insert['ctime'] = time();
|
$insert['ctime'] = time();
|
||||||
|
|||||||
Reference in New Issue
Block a user