Authored by 周少峰

search api

@@ -80,30 +80,30 @@ class SearchData @@ -80,30 +80,30 @@ class SearchData
80 return 'http://192.168.102.216:8087/yohosearch/search.json'; 80 return 'http://192.168.102.216:8087/yohosearch/search.json';
81 case 'testing': 81 case 'testing':
82 if ($type == 'sort') { 82 if ($type == 'sort') {
83 - return 'http://10.66.101.4:8080/yohosearch/sortgroup.json'; 83 + return 'http://10.66.100.4:8080/yohosearch/sortgroup.json';
84 } 84 }
85 elseif ($type == 'discount') { 85 elseif ($type == 'discount') {
86 - return 'http://10.66.101.4:8080/yohosearch/discount.json'; 86 + return 'http://10.66.100.4:8080/yohosearch/discount.json';
87 } 87 }
88 elseif ($type == 'recent') { 88 elseif ($type == 'recent') {
89 - return 'http://10.66.101.4:8080/yohosearch/recent.json'; 89 + return 'http://10.66.100.4:8080/yohosearch/recent.json';
90 } 90 }
91 elseif ($type == 'suggest') { 91 elseif ($type == 'suggest') {
92 - return 'http://10.66.101.4:8080/yohosearch/suggest.json'; 92 + return 'http://10.66.100.4:8080/yohosearch/suggest.json';
93 } 93 }
94 else if($type == 'new-shelve') { 94 else if($type == 'new-shelve') {
95 - return 'http://10.66.101.4:8080/yohosearch/new-shelve.json'; 95 + return 'http://10.66.100.4:8080/yohosearch/new-shelve.json';
96 } 96 }
97 elseif ($type == 'shop') { 97 elseif ($type == 'shop') {
98 - return 'http://10.66.101.4:8080/yohosearch/shops.json'; 98 + return 'http://10.66.100.4:8080/yohosearch/shops.json';
99 } 99 }
100 elseif ($type == 'search') { 100 elseif ($type == 'search') {
101 - return 'http://10.66.101.4:8080/yohosearch/search.json'; 101 + return 'http://10.66.100.4:8080/yohosearch/search.json';
102 } 102 }
103 elseif ($type == 'brand') { 103 elseif ($type == 'brand') {
104 - return 'http://10.66.101.4:8080/yohosearch/brand/list.json'; 104 + return 'http://10.66.100.4:8080/yohosearch/brand/list.json';
105 } 105 }
106 - return 'http://10.66.101.4:8080/yohosearch/search.json'; 106 + return 'http://10.66.100.4:8080/yohosearch/search.json';
107 case 'developer': 107 case 'developer':
108 default: 108 default:
109 if ($type == 'sort') { 109 if ($type == 'sort') {