新增字段期刊涵盖主题多个逗号分隔

This commit is contained in:
chengxl
2025-05-07 14:01:08 +08:00
parent 37be9ed8fd
commit 5eeb683471

View File

@@ -258,7 +258,7 @@ class Journal extends Base {
$update['kfen'] = $data['kfen'];
//新增字段期刊涵盖主题多个逗号分隔 chengxiaoling 20250507 start
if(!empty($data['journal_topic'])){
if(isset($data['journal_topic'])){
if(is_array($data['journal_topic'])){
$update['journal_topic'] = implode(',', $data['journal_topic']);
}else{