Authored by 郝肖肖

Yohobuy API_URL 修改

... ... @@ -269,7 +269,7 @@ class DetailData
$param['product_skn'] = $skn;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
return Yohobuy::get(API_URL, $param);
}
}
... ...
... ... @@ -58,7 +58,7 @@ class SearchData
$param['keyword'] = $keyword;
$param['method'] = 'app.search.fuzzy';
$param['client_secret'] = Sign::getSign($param);
$data = Yohobuy::get(Yohobuy::API_URL, $param);
$data = Yohobuy::get(API_URL, $param);
if (!empty($data['data'])) {
$result = $data['data'];
}
... ... @@ -187,7 +187,7 @@ class SearchData
$param = Yohobuy::param();
$param['method'] = 'app.search.getTerms';
$param['client_secret'] = Sign::getSign($param);
$data = Yohobuy::get(Yohobuy::API_URL, $param);
$data = Yohobuy::get(API_URL, $param);
if (!empty($data['data'])) {
$result = $data['data'];
}
... ...