20201112
This commit is contained in:
@@ -38,6 +38,19 @@ class Auto extends Controller {
|
||||
$this->user_log_obj = Db::name('user_log');
|
||||
$this->reviewer_info_obj = Db::name('user_reviewer_info');
|
||||
}
|
||||
|
||||
|
||||
public function testEmail(){
|
||||
$journal_info = $this->journal_obj->where('journal_id',4)->find();
|
||||
$maidata['email'] = "751475802@qq.com";
|
||||
$maidata['title'] = "test email";
|
||||
$maidata['content'] = "test content";
|
||||
$maidata['tmail'] = $journal_info['email'];
|
||||
$maidata['tpassword'] = $journal_info['epassword'];
|
||||
// Queue::push('app\api\job\mail@fire', $maidata, "tmail");
|
||||
sendEmail($maidata['email'], $journal_info['title'], $journal_info['title'], $maidata['title'], $journal_info['email'], $journal_info['epassword']);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 推送邮件给审稿人提醒审稿人
|
||||
|
||||
Reference in New Issue
Block a user