正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -27,7 +27,7 @@ class WebSettingCountryLogic extends BaseLogic | @@ -27,7 +27,7 @@ class WebSettingCountryLogic extends BaseLogic | ||
| 27 | $lists = $this->model->list($this->param,'id',['id','name','country_img']); | 27 | $lists = $this->model->list($this->param,'id',['id','name','country_img']); |
| 28 | if (!empty($lists)){ | 28 | if (!empty($lists)){ |
| 29 | foreach ($lists as $k => $v){ | 29 | foreach ($lists as $k => $v){ |
| 30 | - $lists[$k]['image_link'] = url('upload/country/' . $v); | 30 | + $lists[$k]['image_link'] = url('upload/country/' . $v['country_img']); |
| 31 | } | 31 | } |
| 32 | } | 32 | } |
| 33 | return $this->success($lists); | 33 | return $this->success($lists); |
-
请 注册 或 登录 后发表评论