figer latex update

This commit is contained in:
wangjinlei
2026-01-05 15:16:12 +08:00
parent b91afaee3d
commit f845b3c804
2 changed files with 13 additions and 17 deletions

View File

@@ -4616,20 +4616,10 @@ class Article extends Base
$where['editor_id'] = $uidres[0];
}
$where['state'] = 0;
$list = $this->journal_obj->where($where)->select();
// //获取期刊封面 chengxiaoling 20251027 start
// if(!empty($list)){
// $aParam = ['issn' => array_column($list, 'issn')];
// $sUrl = 'http://journalapi.tmrjournals.com/public/index.php/';
// $sUrl = $sUrl."api/Supplementary/getJournal";
// $aResult = object_to_array(json_decode(myPost1($sUrl,$aParam),true));
// $aResult = empty($aResult['data']) ? [] : array_column($aResult['data'], 'icon','issn');
// foreach ($list as $key => $value) {
// $list[$key]['journal_icon'] = empty($aResult[$value['issn']]) ? '' : $aResult[$value['issn']];
// }
// }
// //获取期刊封面 chengxiaoling 20251027 end
$list = $this->journal_obj
->field("journal_id,title,issn,editorinchief,zname,abbr,alias,editor_id,staff_id,level,
jabbr,jour_num,jour_price,email,cycle,scope,fee,kfen,website,journal_icon,apc_url,state")
->where($where)->select();
return json($list);
}
@@ -4639,7 +4629,10 @@ class Article extends Base
public function getJournalOutLx()
{
$editorid = $this->request->post('editor_id');
$list = $this->journal_obj->where('editor_id', $editorid)->where('journal_id', 'not in', '2,3,15')->select();
$list = $this->journal_obj
->field("journal_id,title,issn,editorinchief,zname,abbr,alias,editor_id,staff_id,level,
jabbr,jour_num,jour_price,email,cycle,scope,fee,kfen,website,journal_icon,apc_url,state")
->where('editor_id', $editorid)->where('journal_id', 'not in', '2,3,15')->select();
return json($list);
}
@@ -4748,7 +4741,10 @@ class Article extends Base
if (!$res) {
return jsonError('no this user!');
}
$journals = $this->journal_obj->where('editor_id', $res['user_id'])->where('journal_id', 'in', '2,3,15')->select();
$journals = $this->journal_obj
->field("journal_id,title,issn,editorinchief,zname,abbr,alias,editor_id,staff_id,level,
jabbr,jour_num,jour_price,email,cycle,scope,fee,kfen,website,journal_icon,apc_url,state")
->where('editor_id', $res['user_id'])->where('journal_id', 'in', '2,3,15')->select();
$re['journals'] = $journals;
return jsonSuccess($re);
}

View File

@@ -3252,7 +3252,7 @@ class Production extends Base
echo $res;
}
private function tableCovertLatex($amt_id, $references)
public function tableCovertLatex($amt_id, $references)
{
$table_info = $this->article_main_table_obj->where('amt_id', $amt_id)->find();
$tableData = json_decode($table_info['table_data'], true);