/** * 获取国家列表. * * @access public * @return void */ public function getList() { $modelCountry = new CountryModel(); $countryList = $modelCountry->fetchList(); $this->setAjaxData(Message::SUCCESS, Message::get(Message::SUCCESS), $countryList)->myAjaxReturn(); }