正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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']); |
-
请 注册 或 登录 后发表评论