作者 lyh

gx

@@ -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 }