figer latex update
This commit is contained in:
@@ -4616,20 +4616,10 @@ class Article extends Base
|
|||||||
$where['editor_id'] = $uidres[0];
|
$where['editor_id'] = $uidres[0];
|
||||||
}
|
}
|
||||||
$where['state'] = 0;
|
$where['state'] = 0;
|
||||||
$list = $this->journal_obj->where($where)->select();
|
$list = $this->journal_obj
|
||||||
|
->field("journal_id,title,issn,editorinchief,zname,abbr,alias,editor_id,staff_id,level,
|
||||||
// //获取期刊封面 chengxiaoling 20251027 start
|
jabbr,jour_num,jour_price,email,cycle,scope,fee,kfen,website,journal_icon,apc_url,state")
|
||||||
// if(!empty($list)){
|
->where($where)->select();
|
||||||
// $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
|
|
||||||
return json($list);
|
return json($list);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4639,7 +4629,10 @@ class Article extends Base
|
|||||||
public function getJournalOutLx()
|
public function getJournalOutLx()
|
||||||
{
|
{
|
||||||
$editorid = $this->request->post('editor_id');
|
$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);
|
return json($list);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4748,7 +4741,10 @@ class Article extends Base
|
|||||||
if (!$res) {
|
if (!$res) {
|
||||||
return jsonError('no this user!');
|
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;
|
$re['journals'] = $journals;
|
||||||
return jsonSuccess($re);
|
return jsonSuccess($re);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3252,7 +3252,7 @@ class Production extends Base
|
|||||||
echo $res;
|
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();
|
$table_info = $this->article_main_table_obj->where('amt_id', $amt_id)->find();
|
||||||
$tableData = json_decode($table_info['table_data'], true);
|
$tableData = json_decode($table_info['table_data'], true);
|
||||||
|
|||||||
Reference in New Issue
Block a user