This commit is contained in:
wangjinlei
2024-06-14 14:55:26 +08:00
parent f46ee160c6
commit 8a88ea3b3e
3 changed files with 103 additions and 69 deletions

View File

@@ -947,6 +947,17 @@ class Reviewer extends Base
// sendEmail("1586428462@qq.com", "title", "ttttt", "content", 'tmr@tmrjournals.com', "Wu9999999999", $reviewer_ZS);
// }
public function changeJournalReviewerForPD($userId){
$info = $this->reviewer_to_journal_obj->where("journal_id",4)->where("reviewer_id",$userId)->where("state",0)->find();
if($info==null){
echo "system error!";
return ;
}
$this->reviewer_to_journal_obj->where("rtj_id",$info['rtj_id'])->update(["journal_id"=>22,"journal_title"=>"Pharmacology Discovery"]);
echo "You have successfully joined the Pharmacology Discovery reviewer team. We greatly appreciate your support and contributions, and look forward to continuing our collaboration in this new field. Thank you for your ongoing contributions to scientific advancement!";
}
/**提交复审
* @return \think\response\Json
* @throws \think\Exception