/** * 获取所有测试环境 */ private function getSiteList() { $model = new SiteModel(); $names = $model->getSites(); show_json($names); }