code review by hf: merge zhangzhen code to fixes home floor bugs
Showing
1 changed file
with
1 additions
and
2 deletions
@@ -29,9 +29,8 @@ class SearchData | @@ -29,9 +29,8 @@ class SearchData | ||
29 | defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'developer'); | 29 | defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'developer'); |
30 | switch (APPLICATION_ENV) { | 30 | switch (APPLICATION_ENV) { |
31 | case 'release': | 31 | case 'release': |
32 | - case 'preview': | ||
33 | return 'http://100.98.132.63/yohosearch/search.json'; | 32 | return 'http://100.98.132.63/yohosearch/search.json'; |
34 | - break; | 33 | + case 'preview': |
35 | case 'test': | 34 | case 'test': |
36 | case 'developer': | 35 | case 'developer': |
37 | default: | 36 | default: |
-
Please register or login to post a comment