diff --git a/application/api/controller/Article.php b/application/api/controller/Article.php index c4316ab..bf3688b 100644 --- a/application/api/controller/Article.php +++ b/application/api/controller/Article.php @@ -3240,6 +3240,7 @@ class Article extends Base if ($info_1 == null) { return jsonError("fail"); } + $this->article_author_obj->where("art_aut_id", $info['art_aut_id'])->setInc("sort"); $this->article_author_obj->where("art_aut_id", $info_1['art_aut_id'])->setDec("sort"); return jsonSuccess([]); @@ -5421,7 +5422,7 @@ class Article extends Base if($is_report != 1){ if($value['is_report'] == 1){ if(empty($value['orcid'])){ - $sSecondReportMsg = 'Step 2: Please fill in the ORCID of the corresponding author'; + $sSecondReportMsg = 'Step 2: Please fill in the ORCID of at least one corresponding author'; } if(!empty($value['orcid'])){ $is_report = 1; @@ -6137,7 +6138,7 @@ class Article extends Base if($is_report != 1){ if($value['is_report'] == 1){ if(empty($value['orcid'])){ - $sSecondReportMsg = 'Step 2: Please fill in the ORCID of the corresponding author'; + $sSecondReportMsg = 'Step 2: Please fill in the ORCID of at least one corresponding author'; } if(!empty($value['orcid'])){ $is_report = 1;