Authored by whb

search production环境 code preview by whb

@@ -16,7 +16,7 @@ class SearchData extends \LibModels\Wap\Product\SearchData @@ -16,7 +16,7 @@ class SearchData extends \LibModels\Wap\Product\SearchData
16 { 16 {
17 defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'developer'); 17 defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'developer');
18 switch (APPLICATION_ENV) { 18 switch (APPLICATION_ENV) {
19 - case 'release': 19 + case 'production':
20 if ($type == 'sort') { 20 if ($type == 'sort') {
21 return 'http://101.200.31.165/yohosearch/sortgroup.json'; 21 return 'http://101.200.31.165/yohosearch/sortgroup.json';
22 } 22 }