正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -23,8 +23,8 @@ class WebSettingCountryLogic extends BaseLogic | @@ -23,8 +23,8 @@ class WebSettingCountryLogic extends BaseLogic | ||
| 23 | * @time :2023/4/28 16:18 | 23 | * @time :2023/4/28 16:18 |
| 24 | */ | 24 | */ |
| 25 | public function country_list(){ | 25 | public function country_list(){ |
| 26 | - $countryModel = new CountryModel(); | ||
| 27 | - $lists = $countryModel->list($this->param,'id',['id','name','image']); | 26 | + $settingCountryModel = new WebSettingCountry(); |
| 27 | + $lists = $settingCountryModel->list($this->param,'id',['id','name','image']); | ||
| 28 | if (empty($lists)){ | 28 | if (empty($lists)){ |
| 29 | $this->fail('当前数据不存在'); | 29 | $this->fail('当前数据不存在'); |
| 30 | } | 30 | } |
-
请 注册 或 登录 后发表评论