Authored by 郝肖肖

搜索端口号改成8080

@@ -77,7 +77,7 @@ class SearchData @@ -77,7 +77,7 @@ class SearchData
77 elseif ($type == 'brand') { 77 elseif ($type == 'brand') {
78 return 'http://192.168.10.64:8080/yohosearch/brand/list.json'; 78 return 'http://192.168.10.64:8080/yohosearch/brand/list.json';
79 } 79 }
80 - return 'http://192.168.102.216:8087/yohosearch/search.json'; 80 + return 'http://192.168.102.216:8080/yohosearch/search.json';
81 case 'testing': 81 case 'testing':
82 if ($type == 'sort') { 82 if ($type == 'sort') {
83 return 'http://testing.yohoops.org/yohosearch/sortgroup.json'; 83 return 'http://testing.yohoops.org/yohosearch/sortgroup.json';
@@ -107,30 +107,30 @@ class SearchData @@ -107,30 +107,30 @@ class SearchData
107 case 'developer': 107 case 'developer':
108 default: 108 default:
109 if ($type == 'sort') { 109 if ($type == 'sort') {
110 - return 'http://192.168.102.216:8087/yohosearch/sortgroup.json'; 110 + return 'http://192.168.102.216:8080/yohosearch/sortgroup.json';
111 } 111 }
112 elseif ($type == 'discount') { 112 elseif ($type == 'discount') {
113 - return 'http://192.168.102.216:8087/yohosearch/discount.json'; 113 + return 'http://192.168.102.216:8080/yohosearch/discount.json';
114 } 114 }
115 elseif ($type == 'recent') { 115 elseif ($type == 'recent') {
116 - return 'http://192.168.102.216:8087/yohosearch/recent.json'; 116 + return 'http://192.168.102.216:8080/yohosearch/recent.json';
117 } 117 }
118 elseif ($type == 'suggest') { 118 elseif ($type == 'suggest') {
119 - return 'http://192.168.102.216:8087/yohosearch/suggest.json'; 119 + return 'http://192.168.102.216:8080/yohosearch/suggest.json';
120 } 120 }
121 else if($type == 'new-shelve') { 121 else if($type == 'new-shelve') {
122 - return 'http://192.168.102.216:8087/yohosearch/new-shelve.json'; 122 + return 'http://192.168.102.216:8080/yohosearch/new-shelve.json';
123 } 123 }
124 elseif ($type == 'shop') { 124 elseif ($type == 'shop') {
125 - return 'http://192.168.102.216:8087/yohosearch/shops.json'; 125 + return 'http://192.168.102.216:8080/yohosearch/shops.json';
126 } 126 }
127 elseif ($type == 'search') { 127 elseif ($type == 'search') {
128 - return 'http://192.168.102.216:8087/yohosearch/search.json'; 128 + return 'http://192.168.102.216:8080/yohosearch/search.json';
129 } 129 }
130 elseif ($type == 'brand') { 130 elseif ($type == 'brand') {
131 - return 'http://192.168.102.216:8087/yohosearch/brand/list.json'; 131 + return 'http://192.168.102.216:8080/yohosearch/brand/list.json';
132 } 132 }
133 - return 'http://192.168.102.216:8087/yohosearch/search.json'; 133 + return 'http://192.168.102.216:8080/yohosearch/search.json';
134 } 134 }
135 } 135 }
136 136