...
|
...
|
@@ -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'];
|
|
|
}
|
...
|
...
|
|