1
This commit is contained in:
@@ -6,6 +6,7 @@ use think\Controller;
|
||||
use think\Db;
|
||||
use think\Queue;
|
||||
use sftp\Sftp;
|
||||
use think\Validate;
|
||||
|
||||
/**
|
||||
* @title 数据库接口
|
||||
@@ -218,7 +219,13 @@ class Datebase extends Controller
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
public function getaaa(){
|
||||
$num = $this->request->post('num');
|
||||
$list = $this->article_obj->where('j_article.state',0)->join("j_journal_stage","j_journal_stage.journal_stage_id = j_article.journal_stage_id",'left')
|
||||
->page($num,1000)->field("j_article.article_id,j_journal_stage.stage_year")->select();
|
||||
$re['list'] = $list;
|
||||
return jsonSuccess($re);
|
||||
}
|
||||
|
||||
private function push_sftp($stage)
|
||||
{
|
||||
@@ -253,6 +260,98 @@ class Datebase extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 推送邮件至青年科学家
|
||||
*/
|
||||
public function pushEmailToYboard(){
|
||||
$data = $this->request->post();
|
||||
$rule = new Validate([
|
||||
'num'=>'require'
|
||||
]);
|
||||
if(!$rule->check($data)){
|
||||
return jsonError($rule->getError());
|
||||
}
|
||||
|
||||
$url = "http://api.tmrjournals.com/public/index.php/api/User/getAshUserForPushEmail";
|
||||
$p['num'] = $data['num'];
|
||||
$res = object_to_array(json_decode(myPost($url,$p)));
|
||||
$list = $res['data']['list'];
|
||||
// $list = [];
|
||||
// $list[] = ['country'=>"China1","email"=>'751475802@qq.com'];
|
||||
// $list[] = ['country'=>"China1","email"=>'849192806@qq.com'];
|
||||
// $list[] = ['country'=>"China1","email"=>'376837995@qq.com'];
|
||||
foreach($list as $v){
|
||||
$dd = "";
|
||||
$title = 'Traditional Medicine Research will get the first Impact Factor (WOS) in 2023';
|
||||
$dd .= "<img src='https://submission.tmrjournals.com/public/system/4802a5ff7ec6176e2423e57fb2c5791.png' width='750'>";
|
||||
// if($v['country']=='China'){
|
||||
// $title = "2023年度Traditional Medicine Research青年编委招募通知";
|
||||
// $dd .= "传统医学研究 Traditional Medicine Research(ISSN 2413-3973)创刊于2016年,专注于发表具有明确历史记载、民族特色和地域特色的传统医药学研究和相关社会科学研究。我们非常高兴地宣布:<br/><br/>";
|
||||
// $dd .= "1、期刊已于2023年第8卷第1期起由双月刊改为月刊<br/>2、根据科睿唯安最新政策 【科睿唯安宣布2023年度《期刊引证报告》新变化】<br/>Traditional Medicine Research期刊将在2023年获得首个Impact Factor<br/>3、2023年,期刊仍然免除版面费<br/><br/>";
|
||||
// $dd .= "官网:https://www.tmrjournals.com/tmr<br/>邮箱:tmr@tmrjournals.com<br/><br/>";
|
||||
// $dd .= "为了进一步提升期刊国际影响力、促进青年科学家学术交流、增加编委人才储备,编委会研究决定开始2023年第二批青年编委遴选工作。青年编委会由45岁以下、具有博士学位或副高以上职称的青年学者组成。<br/><br/>";
|
||||
// $dd .= "任期: 每期任期1年。每年根据年度任务完成情况筛选下一年度青年编委。<br/><br/>";
|
||||
// $dd .= "<strong>青年编委遴选标准</strong><br/><br/>";
|
||||
// $dd .= "年龄45岁以下,博士学历或副高以上职称,特别优秀者可以酌情放宽。<br/>第一作者或通讯作者发表SCI文章5篇以上,有国家及国际科研项目者优先考虑。<br/>对英文学术论文有一定编辑或审稿能力。<br/><br/>";
|
||||
// $dd .= "权益<br/>
|
||||
// 遴选后即颁发精美青年编委证书,聘期1年。<br/>
|
||||
// 个人及团队投稿享受语言处理费75折。<br/>
|
||||
// 优秀青年编委可作为本刊编委会的后备人选(每年遴选4-6人进入编委会)。<br/>
|
||||
// 可以申请组建专刊,扩大您及您团队的影响力。<br/>
|
||||
// 可享有参加培训、指导论文写作、联合科研合作的权利。<br/><br/>";
|
||||
// $dd .= "工作<br/>
|
||||
// 根据青年编委的研究领域,每年需要审稿3-5篇。<br/>
|
||||
// 运用自身优势,在所在高校、医院积极宣传杂志,将优秀的稿件推荐给周围的学者。<br/>
|
||||
// 为杂志的发展方向及风格提出意见和建议。有条件者可小型论坛、会议等。<br/><br/>";
|
||||
// $dd .= "<strong>申请流程:</strong><br/>
|
||||
// 第一步:登录TMR出版集团投稿与稿件追踪系统 并完善个人信息<br/>
|
||||
// https://submission.tmrjournals.com<br/>
|
||||
// 第二步:点击 Young Scientist Board 申请<br/>
|
||||
// 申请过程中有任何问题请联系: tmr@tmrjournals.com<br/>
|
||||
// 报名截止时间:2023年6月15日<br/>
|
||||
// 流程:提交申请—编委会审定—邮件通知—公示<br/>
|
||||
// 现任青年编委无需提交申请材料,编辑部会根据年终考核评估情况自动遴选。<br/>";
|
||||
// }else{
|
||||
// $title = "2023 Traditional Medicine Research Young Scientist Board Volunteer Opportunity";
|
||||
// $dd .= "Traditional Medicine Research (ISSN 2413-3973) was founded in 2016 and is dedicated to publishing research on traditional medicine and related social sciences that have clear historical records, ethnic characteristics, and regional features. We are pleased to announce that:<br/><br/>";
|
||||
// $dd .= "Starting from Volume 8, Issue 1 in 2023, the journal will change from a bimonthly to a monthly publication.<br/>
|
||||
// According to the latest policy of Clarivate Analytics, Traditional Medicine Research will receive its first Impact Factor in 2023.<br/>
|
||||
// In 2023, the journal will continue to waive publication fees.<br/><br/>";
|
||||
// $dd .= "Website: https://www.tmrjournals.com/tmr<br/>Email: tmr@tmrjournals.com<br/><br/>";
|
||||
// $dd .= "In order to further enhance the international influence of the journal, promote academic exchanges among young scientists, and increase the reserve of editorial board members, the editorial board has decided to launch the second round of selection for Young Scientist Board members in 2023. The Young Scientist Board will consist of scholars under the age of 45 with a doctoral degree or an associate professorship.<br/><br/>";
|
||||
// $dd .= "Term: The term is one year. The next year's Young Scientist Board will be selected based on the completion of the annual tasks.<br/><br/>";
|
||||
// $dd .= "<strong>Selection Criteria for Young Scientist Board Members:</strong><br/><br/>";
|
||||
// $dd .= "Applicants must be under 45 years old, have a doctoral degree or an associate professorship, and exceptional candidates may be considered.<br/>
|
||||
// Priority will be given to applicants who have published at least five SCI articles as first or corresponding authors and have national or international research projects.<br/>
|
||||
// Applicants should have certain editing or reviewing abilities in English academic papers.<br/><br/>";
|
||||
// $dd .= "<strong>Benefits:</strong><br/>
|
||||
// Selected candidates will receive a certificate of excellence as a Young Scientist Board member for a term of one year.<br/>
|
||||
// Personal and team submissions will enjoy a 25% discount on language processing fees.<br/>
|
||||
// Outstanding Young Scientist Board members can serve as reserve candidates for the editorial board (4-6 candidates will be selected each year).<br/>
|
||||
// Selected candidates can apply to organize a special issue to expand their influence.<br/>
|
||||
// Selected candidates will have the right to participate in training, guidance for paper writing, and joint research cooperation.<br/><br/>";
|
||||
// $dd .= "<strong>Responsibilities:</strong><br/>
|
||||
// Based on the research field of Young Scientist Board members, they are required to review 3-5 papers per year.<br/>
|
||||
// Actively promote the journal at their universities and hospitals, and recommend excellent papers to colleagues.<br/>
|
||||
// Provide opinions and suggestions for the development direction and style of the journal. Those who are qualified can participate in small forums, conferences, etc.<br/><br/>";
|
||||
// $dd .= '<strong>Application Process:</strong><br/>
|
||||
// Step 1: Log in to the TMR Publishing Group submission and manuscript tracking system and complete personal information.<br/>
|
||||
// https://submission.tmrjournals.com<br/>
|
||||
// Step 2: Click on the "Young Scientist Board" application.<br/>
|
||||
// If there are any questions during the application process, please contact: tmr@tmrjournals.com<br/>
|
||||
// Application deadline: June 15, 2023.<br/>
|
||||
// Process: Submit application - Editorial board approval - Email notification - Public announcement.<br/><br/>
|
||||
// Current Young Scientist Board members do not need to submit application materials. The editorial department will automatically select based on their annual assessment.<br/>';
|
||||
// }
|
||||
$maidata['email'] = $v['email'];
|
||||
$maidata['title'] = $title;
|
||||
$maidata['content'] = $dd;
|
||||
Queue::push('app\api\job\mail@propa', $maidata, "mail");
|
||||
}
|
||||
$re['list'] = $list;
|
||||
return jsonSuccess($re);
|
||||
}
|
||||
|
||||
/**
|
||||
* @title 获取数据库
|
||||
* @description 获取数据库
|
||||
@@ -452,7 +551,7 @@ class Datebase extends Controller
|
||||
$stage_info = $this->journal_stage_obj->where("journal_stage_id", $data['journal_stage_id'])->find();
|
||||
$re['issue'] = $stage_info['issue_date'] . ", Volume " . $stage_info['stage_vol'] . " Issue " . $stage_info["stage_no"];
|
||||
$adate = [];
|
||||
$alist = $this->article_obj->where("journal_stage_id", $data['journal_stage_id'])->where("state", 0)->orderRaw("npp + 0")->select();
|
||||
$alist = $this->article_obj->where("journal_stage_id", $data['journal_stage_id'])->where("state", 0)->order("sort")->select();
|
||||
// $alist = $this->article_obj->where("journal_stage_id", $data['journal_stage_id'])->where("state", 0)->select();
|
||||
foreach ($alist as $k => $v) {
|
||||
$cache["type"] = $v["type"];
|
||||
|
||||
Reference in New Issue
Block a user