20201112
This commit is contained in:
@@ -529,7 +529,10 @@ class Article extends Controller {
|
|||||||
$tt .= '<br><br>Yours sincerely,<br><br>';
|
$tt .= '<br><br>Yours sincerely,<br><br>';
|
||||||
$tt .= 'Sincerely,<br>Editorial Office<br>';
|
$tt .= 'Sincerely,<br>Editorial Office<br>';
|
||||||
}
|
}
|
||||||
}else if($data['state']==5&&$journal_info['journal_id']==9){//录用
|
}else if($data['state']==5){//录用
|
||||||
|
//录用后更新录用时间
|
||||||
|
$this->article_obj->where('article_id',$article_info['article_id'])->update(['rtime'=> time()]);
|
||||||
|
|
||||||
$tt = 'Manuscript ID: '.$article_info['accept_sn'].'<br>';
|
$tt = 'Manuscript ID: '.$article_info['accept_sn'].'<br>';
|
||||||
$tt .= 'Manuscript Title: '.$article_info['title'].'<br>';
|
$tt .= 'Manuscript Title: '.$article_info['title'].'<br>';
|
||||||
$tt .= 'Authors’ Name: '.self::getArticleAuthors($article_info['article_id']).'<br><br>';
|
$tt .= 'Authors’ Name: '.self::getArticleAuthors($article_info['article_id']).'<br><br>';
|
||||||
@@ -551,8 +554,9 @@ class Article extends Controller {
|
|||||||
$tt .= $journal_info['title'].'<br>';
|
$tt .= $journal_info['title'].'<br>';
|
||||||
$tt .= 'Email: '.$journal_info['email'].'<br>';
|
$tt .= 'Email: '.$journal_info['email'].'<br>';
|
||||||
$tt .= 'Website: '.$journal_info['website'];
|
$tt .= 'Website: '.$journal_info['website'];
|
||||||
sendEmail($user_info['email'], $journal_info['title'], $journal_info['title'], $tt, $journal_info['email'], $journal_info['epassword']);
|
if($data['state']!=5||$journal_info['journal_id']!=9){
|
||||||
|
sendEmail($user_info['email'], $journal_info['title'], $journal_info['title'], $tt, $journal_info['email'], $journal_info['epassword']);
|
||||||
|
}
|
||||||
//转投操作
|
//转投操作
|
||||||
if($data['trsjournal']!=0){
|
if($data['trsjournal']!=0){
|
||||||
$tran_data['article_id'] = $data['articleId'];
|
$tran_data['article_id'] = $data['articleId'];
|
||||||
|
|||||||
@@ -111,6 +111,15 @@ class Super extends Controller{
|
|||||||
private function getSJ($journalId){
|
private function getSJ($journalId){
|
||||||
$res = $this->article_obj->where('journal_id',$journalId)->where('state',5)->select();
|
$res = $this->article_obj->where('journal_id',$journalId)->where('state',5)->select();
|
||||||
foreach ($res as $v){
|
foreach ($res as $v){
|
||||||
|
//文章提交至接收超过48小时
|
||||||
|
$t48 = $this->article_obj->where('journal_id',$v['journal_id'])->where('state',0)->count();
|
||||||
|
//文章接受时间小于15天
|
||||||
|
|
||||||
|
//文章接收时间大于120天
|
||||||
|
|
||||||
|
//with editor时间超过三天(预留)
|
||||||
|
|
||||||
|
$cache_list = $this->article_obj->where('journal_id',$v['journal_id'])->where('state',5)->select();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user