Authored by 郝肖肖

Yohobuy API_URL 修改

@@ -269,7 +269,7 @@ class DetailData @@ -269,7 +269,7 @@ class DetailData
269 $param['product_skn'] = $skn; 269 $param['product_skn'] = $skn;
270 $param['client_secret'] = Sign::getSign($param); 270 $param['client_secret'] = Sign::getSign($param);
271 271
272 - return Yohobuy::get(Yohobuy::API_URL, $param); 272 + return Yohobuy::get(API_URL, $param);
273 } 273 }
274 274
275 } 275 }
@@ -58,7 +58,7 @@ class SearchData @@ -58,7 +58,7 @@ class SearchData
58 $param['keyword'] = $keyword; 58 $param['keyword'] = $keyword;
59 $param['method'] = 'app.search.fuzzy'; 59 $param['method'] = 'app.search.fuzzy';
60 $param['client_secret'] = Sign::getSign($param); 60 $param['client_secret'] = Sign::getSign($param);
61 - $data = Yohobuy::get(Yohobuy::API_URL, $param); 61 + $data = Yohobuy::get(API_URL, $param);
62 if (!empty($data['data'])) { 62 if (!empty($data['data'])) {
63 $result = $data['data']; 63 $result = $data['data'];
64 } 64 }
@@ -187,7 +187,7 @@ class SearchData @@ -187,7 +187,7 @@ class SearchData
187 $param = Yohobuy::param(); 187 $param = Yohobuy::param();
188 $param['method'] = 'app.search.getTerms'; 188 $param['method'] = 'app.search.getTerms';
189 $param['client_secret'] = Sign::getSign($param); 189 $param['client_secret'] = Sign::getSign($param);
190 - $data = Yohobuy::get(Yohobuy::API_URL, $param); 190 + $data = Yohobuy::get(API_URL, $param);
191 if (!empty($data['data'])) { 191 if (!empty($data['data'])) {
192 $result = $data['data']; 192 $result = $data['data'];
193 } 193 }