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