Authored by 郝肖肖

搜索端口号改成8080

@@ -38,7 +38,7 @@ class SearchData @@ -38,7 +38,7 @@ class SearchData
38 case 'test': 38 case 'test':
39 case 'developer': 39 case 'developer':
40 default: 40 default:
41 - return 'http://192.168.102.216:8087/yohosearch/search.json'; 41 + return 'http://192.168.102.216:8080/yohosearch/search.json';
42 } 42 }
43 } 43 }
44 44
@@ -82,45 +82,30 @@ class SearchData @@ -82,45 +82,30 @@ class SearchData
82 case 'developer': 82 case 'developer':
83 default: 83 default:
84 if ($type == 'sort') { 84 if ($type == 'sort') {
85 - return 'http://192.168.102.216:8087/yohosearch/sortgroup.json';  
86 -// return 'http://101.200.31.165/yohosearch/sortgroup.json';  
87 -// return 'http://182.92.99.119:8080/yohosearch/sortgroup.json'; 85 + return 'http://192.168.102.216:8080/yohosearch/sortgroup.json';
88 } 86 }
89 elseif ($type == 'discount') { 87 elseif ($type == 'discount') {
90 - return 'http://192.168.102.216:8087/yohosearch/discount.json';  
91 -// return 'http://101.200.31.165/yohosearch/discount.json';  
92 -// return 'http://182.92.99.119:8080/yohosearch/discount.json'; 88 + return 'http://192.168.102.216:8080/yohosearch/discount.json';
93 } 89 }
94 elseif ($type == 'recent') { 90 elseif ($type == 'recent') {
95 - return 'http://192.168.102.216:8087/yohosearch/recent.json';  
96 -// return 'http://101.200.31.165/yohosearch/recent.json';  
97 -// return 'http://182.92.99.119:8080/yohosearch/recent.json'; 91 + return 'http://192.168.102.216:8080/yohosearch/recent.json';
98 } 92 }
99 elseif ($type == 'suggest') { 93 elseif ($type == 'suggest') {
100 - return 'http://192.168.102.216:8087/yohosearch/suggest.json';  
101 -// return 'http://101.200.31.165/yohosearch/suggest.json';  
102 -// return 'http://182.92.99.119:8080/yohosearch/suggest.json'; 94 + return 'http://192.168.102.216:8080/yohosearch/suggest.json';
103 } 95 }
104 else if($type == 'new-shelve') { 96 else if($type == 'new-shelve') {
105 - return 'http://192.168.102.216:8087/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'; 97 + return 'http://192.168.102.216:8080/yohosearch/new-shelve.json';//'http://182.92.99.119:8080/yohosearch/new-shelve.json';
107 } 98 }
108 elseif ($type == 'shop') { 99 elseif ($type == 'shop') {
109 - return 'http://192.168.102.216:8087/yohosearch/shops.json';  
110 -// return 'http://101.200.31.165/yohosearch/shops.json';  
111 -// return 'http://182.92.99.119:8080/yohosearch/shops.json'; 100 + return 'http://192.168.102.216:8080/yohosearch/shops.json';
112 } 101 }
113 elseif ($type == 'search') { 102 elseif ($type == 'search') {
114 - return 'http://192.168.102.216:8087/yohosearch/search-once.json'; 103 + return 'http://192.168.102.216:8080/yohosearch/search-once.json';
115 } 104 }
116 elseif ($type == 'brand') { 105 elseif ($type == 'brand') {
117 - return 'http://192.168.102.216:8087/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'; 106 + return 'http://192.168.102.216:8080/yohosearch/brand/list.json';
120 } 107 }
121 - return 'http://192.168.102.216:8087/yohosearch/search.json';//支持shop_id  
122 - //return 'http://101.200.31.165/yohosearch/search.json';  
123 -// return 'http://182.92.99.119:8080/yohosearch/search.json'; 108 + return 'http://192.168.102.216:8080/yohosearch/search.json';;//支持shop_id
124 } 109 }
125 } 110 }
126 111