20201112
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -663,7 +663,13 @@ class Journal extends Controller {
|
||||
$stage_info = $this->journal_stage_obj->where('journal_stage_id', $article_info['journal_stage_id'])->find();
|
||||
$topic_info = $this->journal_topic_obj->where('journal_topic_id',$topic_id)->find();
|
||||
$journal_info = $this->journal_obj->where('journal_id',$article_info['journal_id'])->find();
|
||||
$list = $this->subscribe_topic_obj->where('topic_id',$topic_id)->where('state',0)->select();
|
||||
$list = [];
|
||||
if($topic_info['level']==2){
|
||||
$list = $this->subscribe_topic_obj->where('topic_id',$topic_id)->where('state',0)->select();
|
||||
}else{
|
||||
$list = $this->subscribe_topic_obj->where('topic_id',$topic_info['parent_id'])->where('state',0)->select();
|
||||
}
|
||||
// $list = $this->subscribe_topic_obj->where('topic_id',$topic_info['parent_id'])->where('state',0)->select();
|
||||
//组成文章信息
|
||||
$tt1 = '<div style="background-color: #ededed;margin: 0;">
|
||||
<div class="con_content" style="font-family: Arial;
|
||||
@@ -699,7 +705,7 @@ class Journal extends Controller {
|
||||
$maidata['title'] = $journal_info['title'];
|
||||
$maidata['content'] = $cache;
|
||||
$maidata['tmail'] = 'publicrelations@tmrjournals.com';
|
||||
$maidata['tpassword'] = 'pRWU999999';
|
||||
$maidata['tpassword'] = '999999Wu';
|
||||
Queue::push('app\api\job\mail@fire', $maidata, "mail");
|
||||
}
|
||||
}
|
||||
@@ -1071,7 +1077,7 @@ class Journal extends Controller {
|
||||
$maidata['title'] = $journal_info['title'];
|
||||
$maidata['content'] = $cache;
|
||||
$maidata['tmail'] = 'publicrelations@tmrjournals.com';
|
||||
$maidata['tpassword'] = 'pRWU999999';
|
||||
$maidata['tpassword'] = '999999Wu';
|
||||
Queue::push('app\api\job\mail@fire', $maidata, "mail");
|
||||
echo $v['email'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user