From 72492e39cd61529cde4462a03130e27d9f7d2bb3 Mon Sep 17 00:00:00 2001
From: wangjinlei <751475802@qq.com>
Date: Thu, 22 May 2025 16:03:01 +0800
Subject: [PATCH] =?UTF-8?q?user=20reviewer=20info=20=E5=BC=82=E5=B8=B8?=
=?UTF-8?q?=E6=B7=BB=E5=8A=A0=20=20testfrom?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
application/api/controller/Email.php | 24 ++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/application/api/controller/Email.php b/application/api/controller/Email.php
index 4adb267..181def7 100644
--- a/application/api/controller/Email.php
+++ b/application/api/controller/Email.php
@@ -252,33 +252,37 @@ class Email extends Base
public function ntaPushEmail(){
- $journal_info = $this->journal_obj->where("journal_id",6)->find();
+ $journal_info = $this->journal_obj->where("journal_id",15)->find();
// $ids = $this->board_to_journal_obj->where("journal_id",6)->where("state",0)->column("user_id");
- $ids = $this->user_to_yboard_obj->where("journal_id",6)->where("end_date",">",1747380505)->column("user_id");
+// $ids = $this->user_to_yboard_obj->where("journal_id",6)->where("end_date",">",1747380505)->column("user_id");
// $ids = $this->reviewer_to_journal_obj->where("journal_id",6)->where("state",0)->column("reviewer_id");
+// $ids = $this->article_obj->whereIn("journal_id",[16,6,15])->column("user_id");
- $list = $this->user_obj->whereIn("user_id",$ids)->select();
-// $list[] = ["realname"=>"wangjinlei","email"=>"751475802@qq.com"];
-// $list[] = ["realname"=>"zhuwenjing","email"=>"1300364247@qq.com"];
+// $list = $this->user_obj->whereIn("user_id",$ids)->select();
+
+ $list[] = ["realname"=>"wangjinlei","email"=>"751475802@qq.com"];
+ $list[] = ["realname"=>"test","email"=>"924627193@qq.com"];
foreach ($list as $v){
$content = "Dear Dr. ".$v['realname'].",
";
- $content .= "We hereby inform you that Food and health will be merged into Integrative Medicine Discovery as of 23th May, 2025. We sincerely appreciate your long-term support and contributions for Food and health, lf you are wiling to continue serving as a Young Editorial Board Member/EditoriaBoard Member/Reviewer for the merged journal Integrative Medicine Discovery, please kindly confirm by replying to this email.
";
- $content .= "Thank you for your consideration.
";
- $content .= "Look forward for your reply.
";
- $content .= "Sincerely,
Editorial Office
Food and health
Email: foodhealth@tmrjournals.com
Website: https://www.tmrjournals.com/fh/
";
+ $content .= "We hope this message finds you well.
";
+ $content .= "We are writing to inform you that the Natural Therapy Advances and Food and Health, both previously published by TMR Publishing Group, have now officially merged into Integrative Medicine Discovery.
";
+ $content .= "As part of this transition, Integrative Medicine Discovery has expanded its focus to cover five key areas of research:
1. Integrative Pharmacology
2. Herbal Formulae
3. Food Therapy
4. Acupuncture and Massage
5. Integrative Oncology
";
+ $content .= "We believe this strategic move will strengthen our ability to provide cutting-edge research and insights into these critical fields. If you have manuscripts for future submission, we warmly welcome you to consider submitting them to Integrative Medicine Discovery.
";
+ $content .= "Thank you for your ongoing interest and engagement with our journals. If you have any questions or need further information, please feel free to contact us.
";
+ $content .= "Best regards
Editorial Office
Integrative Medicine Discovery
Email: imd@tmrjournals.com
Website: https://www.tmrjournals.com/im/";
$pre = Env::get('emailtemplete.pre');
$net = Env::get('emailtemplete.net');
$net1 = str_replace("{{email}}",$v['email'],$net);
$mailbody=$pre.$content.$net1;
$edata['email'] = $v['email'];
- $edata['title'] = "Notice: Merger of Food and health journal into Integrative Medicine Discovery";
+ $edata['title'] = "Notice: Merger of Natural Therapy Advances and Food and Health into Integrative Medicine Discovery";
$edata['content'] = $mailbody;
$edata['tmail'] = $journal_info['email'];
$edata['tpassword'] = $journal_info['epassword'];