|
@@ -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
|
}
|