作者 lyh

ggx

@@ -202,7 +202,7 @@ class CNoticeController extends BaseController @@ -202,7 +202,7 @@ class CNoticeController extends BaseController
202 $ids = explode(',',$info['country_lists']); 202 $ids = explode(',',$info['country_lists']);
203 } 203 }
204 $webSettingCountryModel = new WebSettingCountry(); 204 $webSettingCountryModel = new WebSettingCountry();
205 - $lists = $webSettingCountryModel->list(['id',['in',$ids]],'id',['id','name','country_img']); 205 + $lists = $webSettingCountryModel->list(['id'=>['in',$ids]],'id',['id','name','country_img']);
206 if (!empty($lists)){ 206 if (!empty($lists)){
207 foreach ($lists as $k => $v){ 207 foreach ($lists as $k => $v){
208 $lists[$k]['image_link'] = url('upload/country/' . $v['country_img']); 208 $lists[$k]['image_link'] = url('upload/country/' . $v['country_img']);