正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -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) { |
-
请 注册 或 登录 后发表评论