|
...
|
...
|
@@ -24,12 +24,7 @@ class WebSettingCountryLogic extends BaseLogic |
|
|
|
* @time :2023/4/28 16:18
|
|
|
|
*/
|
|
|
|
public function country_list(){
|
|
|
|
$lists = $this->model->list($this->param,'id',['id','name','country_img']);
|
|
|
|
if (!empty($lists)){
|
|
|
|
foreach ($lists as $k => $v){
|
|
|
|
$lists[$k]['image_link'] = url('upload/country/' . $v['country_img']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$lists = $this->model->list($this->param,'id',['id','name','alias','lang_text']);
|
|
|
|
return $this->success($lists);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|