测试问题修改
This commit is contained in:
@@ -3240,6 +3240,7 @@ class Article extends Base
|
|||||||
if ($info_1 == null) {
|
if ($info_1 == null) {
|
||||||
return jsonError("fail");
|
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['art_aut_id'])->setInc("sort");
|
||||||
$this->article_author_obj->where("art_aut_id", $info_1['art_aut_id'])->setDec("sort");
|
$this->article_author_obj->where("art_aut_id", $info_1['art_aut_id'])->setDec("sort");
|
||||||
return jsonSuccess([]);
|
return jsonSuccess([]);
|
||||||
@@ -5421,7 +5422,7 @@ class Article extends Base
|
|||||||
if($is_report != 1){
|
if($is_report != 1){
|
||||||
if($value['is_report'] == 1){
|
if($value['is_report'] == 1){
|
||||||
if(empty($value['orcid'])){
|
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'])){
|
if(!empty($value['orcid'])){
|
||||||
$is_report = 1;
|
$is_report = 1;
|
||||||
@@ -6137,7 +6138,7 @@ class Article extends Base
|
|||||||
if($is_report != 1){
|
if($is_report != 1){
|
||||||
if($value['is_report'] == 1){
|
if($value['is_report'] == 1){
|
||||||
if(empty($value['orcid'])){
|
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'])){
|
if(!empty($value['orcid'])){
|
||||||
$is_report = 1;
|
$is_report = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user