Authored by 周少峰

search url

@@ -82,43 +82,43 @@ class SearchData @@ -82,43 +82,43 @@ class SearchData
82 case 'developer': 82 case 'developer':
83 default: 83 default:
84 if ($type == 'sort') { 84 if ($type == 'sort') {
85 - return 'http://101.200.31.165/yohosearch/sortgroup.json'; 85 + return 'http://searchyohoops.yohobuy.com/yohosearch/sortgroup.json';
86 // return 'http://101.200.31.165/yohosearch/sortgroup.json'; 86 // return 'http://101.200.31.165/yohosearch/sortgroup.json';
87 // return 'http://182.92.99.119:8080/yohosearch/sortgroup.json'; 87 // return 'http://182.92.99.119:8080/yohosearch/sortgroup.json';
88 } 88 }
89 elseif ($type == 'discount') { 89 elseif ($type == 'discount') {
90 - return 'http://101.200.31.165/yohosearch/discount.json'; 90 + return 'http://searchyohoops.yohobuy.com/yohosearch/discount.json';
91 // return 'http://101.200.31.165/yohosearch/discount.json'; 91 // return 'http://101.200.31.165/yohosearch/discount.json';
92 // return 'http://182.92.99.119:8080/yohosearch/discount.json'; 92 // return 'http://182.92.99.119:8080/yohosearch/discount.json';
93 } 93 }
94 elseif ($type == 'recent') { 94 elseif ($type == 'recent') {
95 - return 'http://101.200.31.165/yohosearch/recent.json'; 95 + return 'http://searchyohoops.yohobuy.com/yohosearch/recent.json';
96 // return 'http://101.200.31.165/yohosearch/recent.json'; 96 // return 'http://101.200.31.165/yohosearch/recent.json';
97 // return 'http://182.92.99.119:8080/yohosearch/recent.json'; 97 // return 'http://182.92.99.119:8080/yohosearch/recent.json';
98 } 98 }
99 elseif ($type == 'suggest') { 99 elseif ($type == 'suggest') {
100 - return 'http://101.200.31.165/yohosearch/suggest.json'; 100 + return 'http://searchyohoops.yohobuy.com/yohosearch/suggest.json';
101 // return 'http://101.200.31.165/yohosearch/suggest.json'; 101 // return 'http://101.200.31.165/yohosearch/suggest.json';
102 // return 'http://182.92.99.119:8080/yohosearch/suggest.json'; 102 // return 'http://182.92.99.119:8080/yohosearch/suggest.json';
103 } 103 }
104 else if($type == 'new-shelve') { 104 else if($type == 'new-shelve') {
105 - return 'http://101.200.31.165/yohosearch/new-shelve.json';//'http://182.92.99.119:8080/yohosearch/new-shelve.json'; 105 + return 'http://searchyohoops.yohobuy.com/yohosearch/new-shelve.json';//'http://182.92.99.119:8080/yohosearch/new-shelve.json';
106 // return 'http://182.92.99.119:8080/yohosearch/new-shelve.json';//'http://182.92.99.119:8080/yohosearch/new-shelve.json'; 106 // return 'http://182.92.99.119:8080/yohosearch/new-shelve.json';//'http://182.92.99.119:8080/yohosearch/new-shelve.json';
107 } 107 }
108 elseif ($type == 'shop') { 108 elseif ($type == 'shop') {
109 - return 'http://101.200.31.165/yohosearch/shops.json'; 109 + return 'http://searchyohoops.yohobuy.com/yohosearch/shops.json';
110 // return 'http://101.200.31.165/yohosearch/shops.json'; 110 // return 'http://101.200.31.165/yohosearch/shops.json';
111 // return 'http://182.92.99.119:8080/yohosearch/shops.json'; 111 // return 'http://182.92.99.119:8080/yohosearch/shops.json';
112 } 112 }
113 elseif ($type == 'search') { 113 elseif ($type == 'search') {
114 - return 'http://182.92.99.119:8080/yohosearch/search-once.json'; 114 + return 'http://searchyohoops.yohobuy.com/yohosearch/search-once.json';
115 } 115 }
116 elseif ($type == 'brand') { 116 elseif ($type == 'brand') {
117 - return 'http://101.200.31.165/yohosearch/brand/list.json'; 117 + return 'http://searchyohoops.yohobuy.com/yohosearch/brand/list.json';
118 // return 'http://101.200.31.165/yohosearch/brand/list.json'; 118 // return 'http://101.200.31.165/yohosearch/brand/list.json';
119 // return 'http://182.92.99.119:8080/yohosearch/brand/list.json'; 119 // return 'http://182.92.99.119:8080/yohosearch/brand/list.json';
120 } 120 }
121 - return 'http://101.200.31.165/yohosearch/search.json'; 121 + return 'http://searchyohoops.yohobuy.com/yohosearch/search.json';
122 //return 'http://101.200.31.165/yohosearch/search.json'; 122 //return 'http://101.200.31.165/yohosearch/search.json';
123 // return 'http://182.92.99.119:8080/yohosearch/search.json'; 123 // return 'http://182.92.99.119:8080/yohosearch/search.json';
124 } 124 }