期刊字段修改
This commit is contained in:
@@ -292,12 +292,24 @@ class Journal extends Base {
|
|||||||
$aJournalUpdate['editor_qrcode'] = $update['editor_qrcode'];
|
$aJournalUpdate['editor_qrcode'] = $update['editor_qrcode'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(isset($data['wechat_name'])){
|
||||||
|
$update['wechat_name'] = $data['wechat_name'];
|
||||||
|
$aJournalUpdate['wechat_name'] = $update['wechat_name'];
|
||||||
|
}
|
||||||
|
if(isset($data['wechat_app_id'])){
|
||||||
|
$update['wechat_app_id'] = $data['wechat_app_id'];
|
||||||
|
$aJournalUpdate['wechat_app_id'] = $update['wechat_app_id'];
|
||||||
|
}
|
||||||
|
if(isset($data['wechat_app_secret'])){
|
||||||
|
$update['wechat_app_secret'] = $data['wechat_app_secret'];
|
||||||
|
$aJournalUpdate['wechat_app_secret'] = $update['wechat_app_secret'];
|
||||||
|
}
|
||||||
|
|
||||||
if(!empty($aJournalUpdate)){
|
if(!empty($aJournalUpdate)){
|
||||||
$aJournalUpdate['issn'] = $journal_info['issn'];
|
$aJournalUpdate['issn'] = $journal_info['issn'];
|
||||||
$sUrl = $this->sJournalUrl."wechat/Article/updateJournal";
|
$sUrl = $this->sJournalUrl."wechat/Article/updateJournal";
|
||||||
$program['issn'] = $journal_info['issn'];
|
$program['issn'] = $journal_info['issn'];
|
||||||
$res = object_to_array(json_decode(myPost($sUrl,$aJournalUpdate)));
|
$res = object_to_array(json_decode(myPost($sUrl,$aJournalUpdate)));
|
||||||
var_dump($res);exit;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
//新增字段期刊涵盖主题多个逗号分隔 chengxiaoling 20250507 end
|
//新增字段期刊涵盖主题多个逗号分隔 chengxiaoling 20250507 end
|
||||||
|
|||||||
Reference in New Issue
Block a user