...
|
...
|
@@ -40,7 +40,7 @@ class IndexData |
|
|
$params['client_type'] = $client_type;
|
|
|
$params['private_key'] = Yohobuy::$privateKeyList[$client_type];
|
|
|
$params['client_secret'] = Sign::getSign($params);
|
|
|
return Yohobuy::get(Yohobuy::SERVICE_URL . self::URL_OPERATIONS_RESOURCE_GET, $params);
|
|
|
return Yohobuy::get(Yohobuy::SERVICE_URL . self::URL_OPERATIONS_RESOURCE_GET, $params, true);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -66,7 +66,7 @@ class IndexData |
|
|
unset($param['os_version']);
|
|
|
unset($param['screen_size']);
|
|
|
unset($param['v']);
|
|
|
return Yohobuy::get(Yohobuy::API_URL, $param);
|
|
|
return Yohobuy::post(Yohobuy::API_URL, $param);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -94,7 +94,7 @@ class IndexData |
|
|
unset($param['os_version']);
|
|
|
unset($param['screen_size']);
|
|
|
unset($param['v']);
|
|
|
return Yohobuy::get(Yohobuy::API_URL, $param);
|
|
|
return Yohobuy::post(Yohobuy::API_URL, $param);
|
|
|
}
|
|
|
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|