From 0e93594c33f02472661e7e25f4743d6fafd5b042 Mon Sep 17 00:00:00 2001 From: chengxl Date: Sun, 4 Jan 2026 14:22:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E7=AB=A0=E6=89=80=E5=B1=9E=E6=9C=9F?= =?UTF-8?q?=E5=88=8A=E4=BB=B7=E6=A0=BC=E4=BF=AE=E6=94=B9=E6=88=90=E8=B0=83?= =?UTF-8?q?=E7=94=A8=E6=95=B0=E6=8D=AE=E5=BA=93=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Article.php | 27 +++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) 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 .= '
If you have any questions, please contact us:
'; $tt1 .= 'Head of publication ethics
Dr. Dan Chen
TMR Publishing Group Limited Company, Auckland, New Zealand
Email: publication.ethics@tmrjournals.com'; } else { - $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. Please quote the tracking number in any communication. 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 = '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. Please quote the tracking number in any communication. 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 .= 'You may check on the status of this manuscript in the Submission System. If you encounter any problems, please contact ' . $journal_info['email'] . '.

'; - $tt1 .= 'Thank you for choosing to submit your manuscript to ' . $journal_info['title'] . '.


'; + $tt1 .= 'Thank you for choosing to submit your manuscript to ' . ''.$journal_info['title'].'' . '.


'; $tt1 .= 'Sincerely,
Editorial Office
'; $tt1 .= 'Subscribe to this journal
'; - $tt1 .= $journal_info['title'] . '
'; + $tt1 .= ''.$journal_info['title'].'' . '
'; $tt1 .= 'Email: ' . $journal_info['email'] . '
'; $tt1 .= 'Website: ' . $journal_info['website'] . '
'; $tt1 .= '
If you have any questions, please contact us:
'; @@ -3819,7 +3828,7 @@ class Article extends Base } - sendEmail($user_res['email'], $journal_info['title'], $journal_info['title'], $tt_t . $tt1, $journal_info['email'], $journal_info['epassword']); + sendEmail($user_res['email'], $sSubject, $journal_info['title'], $tt_t . $tt1, $journal_info['email'], $journal_info['epassword']); foreach ($author_email as $v) { $cache_str = 'Dear Dr. ' . $v['name'] . ',

';