diff --git a/application/api/controller/Article.php b/application/api/controller/Article.php
index 308fc5f..140a368 100644
--- a/application/api/controller/Article.php
+++ b/application/api/controller/Article.php
@@ -3793,25 +3793,34 @@ class Article extends Base
//发送邮件给作者,表示感谢
$tt_t = 'Dear Dr. ' . ($user_res['realname'] == '' ? $user_res['account'] : $user_res['realname']) . ',
';
- if ($article_info['journal_id'] == 1) {
+ //期刊费用
+ $iJournalFee = empty($journal_info['fee']) ? 0 : $journal_info['fee'];
+ $iNowFee = intval($iJournalFee * 100);
+ //收费地址
+ $aApc = [1 => 'https://www.tmrjournals.com/apc/',10 => 'https://www.tmrjournals.com/mdm/apc/',23 => 'https://www.tmrjournals.com/bmec/apc/'];
+ $sApc = empty($aApc[$article_info['journal_id']]) ? '' : $aApc[$article_info['journal_id']];
+ //邮件主题
+ $sSubject = 'Manuscript Submission Confirmation – '.'['.$sArticleSn.'] '.$journal_info['title'];
+
+ if ($iNowFee > 0) {
$tt1 = 'Thank you for submitting your manuscript entitled "' . $article_info['title'] . '". Your submission has been assigned the following tracking number: ' . $sArticleSn . '. We will be in touch again as soon as we have reached a decision. You may check on the status of this manuscript in the Submission System. Please quote the tracking number in any communication.
';
- $tt1 .= 'The following information was acknowledged during the submission process: Traditional Medicine Research is an open access journal that charges a publication fee of 600 USD for accepted manuscripts (click here for details).
';
- $tt1 .= 'This e-mail simply acknowledges receipt of your submission. If the editors decide for editorial reasons that the paper is unsuitable for publication in Traditional Medicine Research, you will be informed as soon as possible.
';
- $tt1 .= 'If you encounter any problems, please contact tmr@tmrjournals.com.
Thank you for choosing to submit your manuscript to Traditional Medicine Research.
';
+ $tt1 .= 'The following information was acknowledged during the submission process: '.''.$journal_info['title'].''.' is an open access journal that charges a publication fee of '.$iJournalFee.' USD for accepted manuscripts (click here for details).
';
+ $tt1 .= 'This e-mail simply acknowledges receipt of your submission. If the editors decide for editorial reasons that the paper is unsuitable for publication in '.''.$journal_info['title'].''.', you will be informed as soon as possible.
';
+ $tt1 .= 'If you encounter any problems, please contact '.$journal_info['email'].'.
Thank you for choosing to submit your manuscript to '.''.$journal_info['title'].''.'.
';
$tt1 .= 'Sincerely,
Editorial Office
';
- $tt1 .= $journal_info['title'] . '
';
+ $tt1 .= ''.$journal_info['title'].'' . '
';
$tt1 .= 'Email: ' . $journal_info['email'] . '
';
$tt1 .= 'Website: ' . $journal_info['website'] . '
';
$tt1 .= '