Authored by whb

index-debug.js

... ... @@ -18,24 +18,24 @@ class SearchData extends \LibModels\Wap\Product\SearchData
switch (APPLICATION_ENV) {
case 'release':
if ($type == 'sort') {
return 'http://101.201.178.220/yohosearch/sortgroup.json';
return 'http://100.98.132.63/yohosearch/sortgroup.json';
}
elseif ($type == 'discount') {
return 'http://101.201.178.220/yohosearch/discount.json';
return 'http://100.98.132.63/yohosearch/discount.json';
}
elseif ($type == 'recent') {
return 'http://101.201.178.220/yohosearch/recent.json';
return 'http://100.98.132.63/yohosearch/recent.json';
}
elseif ($type == 'suggest') {
return 'http://101.201.178.220/yohosearch/suggest.json';
return 'http://100.98.132.63/yohosearch/suggest.json';
}
else if($type == 'new-shelve') {
return 'http://101.201.178.220/yohosearch/new-shelve.json';
return 'http://100.98.132.63/yohosearch/new-shelve.json';
}
elseif ($type == 'shop') {
return 'http://101.201.178.220/yohosearch/shops.json';
return 'http://100.98.132.63/yohosearch/shops.json';
}
return 'http://101.201.178.220/yohosearch/search.json';
return 'http://100.98.132.63/yohosearch/search.json';
case 'preview':
if ($type == 'sort') {
return 'http://101.200.31.165/yohosearch/sortgroup.json';
... ...
This diff could not be displayed because it is too large.