This commit is contained in:
wangjinlei
2022-05-16 12:18:36 +08:00
parent ea9047b8bd
commit 111241fa70
4 changed files with 10 additions and 6 deletions

View File

@@ -141,8 +141,8 @@ class Journal extends Controller {
$list = $this->footer_obj->where($where)->order('sort desc')->select(); $list = $this->footer_obj->where($where)->order('sort desc')->select();
$frag = []; $frag = [];
$frag['Publishing Policy'] = []; $frag['Publishing Policy'] = [];
$frag['Join Us'] = [];
$frag['Products'] = []; $frag['Products'] = [];
$frag['Join Us'] = [];
$frag['Cooperate with Us'] = []; $frag['Cooperate with Us'] = [];
$frag['Publisher Information'] = []; $frag['Publisher Information'] = [];
foreach ($list as $v) { foreach ($list as $v) {

View File

@@ -258,7 +258,9 @@ class Special extends Controller {
$limit_start = ($data['pageIndex'] - 1) * $data['pageSize']; $limit_start = ($data['pageIndex'] - 1) * $data['pageSize'];
$list = $this->journal_special_obj $list = $this->journal_special_obj
->where('journal_id',$data['journal_id']) ->where('journal_id',$data['journal_id'])
->where('state',2)->order('journal_special_id desc') ->where('state',2)
// ->order('journal_special_id desc')
->order('deadline desc')
->limit($limit_start,$data['pageSize']) ->limit($limit_start,$data['pageSize'])
->select(); ->select();
//获取作者 //获取作者

View File

@@ -438,6 +438,7 @@ class Article extends Controller {
* @param name:icon type:string require:1 desc:图片 * @param name:icon type:string require:1 desc:图片
* @param name:tradition_tag type:string require:1 desc:封皮标签 * @param name:tradition_tag type:string require:1 desc:封皮标签
* @param name:tradition type:string require:1 desc:封皮简介 * @param name:tradition type:string require:1 desc:封皮简介
* @param name:mhoo type:string require:1 desc:Medical history of objective
* @param name:journal_stage_id type:int require:1 desc:期刊分期id * @param name:journal_stage_id type:int require:1 desc:期刊分期id
* @param name:journal_special_id type:int require:1 desc:客座期刊id * @param name:journal_special_id type:int require:1 desc:客座期刊id
* @param name:doi type:string require:1 desc:doi * @param name:doi type:string require:1 desc:doi
@@ -467,6 +468,7 @@ class Article extends Controller {
$updata['journal_special_id'] = $data['journal_special_id']; $updata['journal_special_id'] = $data['journal_special_id'];
$updata['tradition_tag'] = $data['tradition_tag']; $updata['tradition_tag'] = $data['tradition_tag'];
$updata['tradition'] = $data['tradition']; $updata['tradition'] = $data['tradition'];
$updata['mhoo'] = $data['mhoo'];
$updata['doi'] = $data['doi']; $updata['doi'] = $data['doi'];
$updata['abstract'] = $data['abstract']; $updata['abstract'] = $data['abstract'];
$updata['keywords'] = $data['keywords']; $updata['keywords'] = $data['keywords'];
@@ -1187,9 +1189,9 @@ class Article extends Controller {
} }
private function myPost($url, $param = array()) { private function myPost($url, $param = array()) {
if (!is_array($param)) { // if (!is_array($param)) {
throw new Exception("参数必须为array"); // throw new Exception("参数必须为array");
} // }
$httph = curl_init($url); $httph = curl_init($url);
curl_setopt($httph, CURLOPT_RETURNTRANSFER, 1); curl_setopt($httph, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($httph, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"); curl_setopt($httph, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)");

View File

@@ -1254,7 +1254,7 @@ class Journal extends Controller {
$tt2 = 'Email: '.$journal_info['email'].'<br>'; $tt2 = 'Email: '.$journal_info['email'].'<br>';
$tt2 .= 'Website: https://www.tmrjournals.com/'.$journal_info['usx'].'<br><br>'; $tt2 .= 'Website: https://www.tmrjournals.com/'.$journal_info['usx'].'<br><br>';
$tt2 .= 'TMR Publishing Group Ltd.<br>'; $tt2 .= 'TMR Publishing Group Ltd.<br>';
$tt2 .= '11 Cockle Bay Rd, Cockle Bay, Auckland, New Zealand<br>'; $tt2 .= 'Auckland, New Zealand<br>';
$tt2 .= 'Tel: +64 02108293806.'; $tt2 .= 'Tel: +64 02108293806.';
$tt2 .= '</div> $tt2 .= '</div>
</div>'; </div>';