作者 刘锟

小语种排序

... ... @@ -374,7 +374,7 @@ class DomainInfoLogic extends BaseLogic
}
$custom_model = new CountryCustom();
$info = $custom_model->read(['project_id',$this->user['project_id'],'language_id'=>$this->param['language_id']]);
$info = $custom_model->read(['project_id',$this->param['project_id'],'language_id'=>$this->param['language_id']]);
if($info === false){
$custom_model->add($this->param);
}else{
... ...