Authored by whb

搜索修改 code preview whb

@@ -18,24 +18,24 @@ class SearchData extends \LibModels\Wap\Product\SearchData @@ -18,24 +18,24 @@ class SearchData extends \LibModels\Wap\Product\SearchData
18 switch (APPLICATION_ENV) { 18 switch (APPLICATION_ENV) {
19 case 'release': 19 case 'release':
20 if ($type == 'sort') { 20 if ($type == 'sort') {
21 - return 'http://101.201.178.220/yohosearch/sortgroup.json'; 21 + return 'http://101.200.31.165/yohosearch/sortgroup.json';
22 } 22 }
23 elseif ($type == 'discount') { 23 elseif ($type == 'discount') {
24 - return 'http://101.201.178.220/yohosearch/discount.json'; 24 + return 'http://101.200.31.165/yohosearch/discount.json';
25 } 25 }
26 elseif ($type == 'recent') { 26 elseif ($type == 'recent') {
27 - return 'http://101.201.178.220/yohosearch/recent.json'; 27 + return 'http://101.200.31.165/yohosearch/recent.json';
28 } 28 }
29 elseif ($type == 'suggest') { 29 elseif ($type == 'suggest') {
30 - return 'http://101.201.178.220/yohosearch/suggest.json'; 30 + return 'http://101.200.31.165/yohosearch/suggest.json';
31 } 31 }
32 else if($type == 'new-shelve') { 32 else if($type == 'new-shelve') {
33 - return 'http://101.201.178.220/yohosearch/new-shelve.json'; 33 + return 'http://101.200.31.165/yohosearch/new-shelve.json';
34 } 34 }
35 elseif ($type == 'shop') { 35 elseif ($type == 'shop') {
36 - return 'http://101.201.178.220/yohosearch/shops.json'; 36 + return 'http://101.200.31.165/yohosearch/shops.json';
37 } 37 }
38 - return 'http://101.201.178.220/yohosearch/search.json'; 38 + return 'http://101.200.31.165/yohosearch/search.json';
39 case 'preview': 39 case 'preview':
40 if ($type == 'sort') { 40 if ($type == 'sort') {
41 return 'http://101.200.31.165/yohosearch/sortgroup.json'; 41 return 'http://101.200.31.165/yohosearch/sortgroup.json';