作者 耿培杰

修改接口

@@ -319,7 +319,7 @@ class University extends Api @@ -319,7 +319,7 @@ class University extends Api
319 319
320 $levelId = $this->request->param('level_id', 0, 'int'); 320 $levelId = $this->request->param('level_id', 0, 'int');
321 $cityId = $this->request->param('city_id', 0, 'int'); 321 $cityId = $this->request->param('city_id', 0, 'int');
322 - 322 + if (empty($word) && empty($levelId) && empty($cityId)) $levelId = 2;
323 $where['show_switch'] = ['=', 1]; 323 $where['show_switch'] = ['=', 1];
324 324
325 if($levelId) { 325 if($levelId) {