作者 lyh

gx

... ... @@ -117,7 +117,9 @@ class ProjectCountryLogic extends BaseLogic
protected function countrySortFormat($country_sort){
$webLanguageModel = new WebLanguage();
$idArr = $webLanguageModel->selectField(['id'=>['not in',explode(',',$country_sort)]],'id');
$countryStr = $country_sort.','.implode(',',$idArr);
return $countryStr;
if(!empty($idArr)){
$country_sort = $country_sort.','.implode(',',$idArr);
}
return $country_sort;
}
}
... ...