|
|
|
@ -26,7 +26,7 @@ class YuanheRepository
|
|
|
|
public function getHeader()
|
|
|
|
public function getHeader()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$timestamp = time();
|
|
|
|
$timestamp = time();
|
|
|
|
$token = md5($this->custmerId . time() . $this->authKey);
|
|
|
|
$token = md5($this->customerId . time() . $this->authKey);
|
|
|
|
$token = strtoupper($token);
|
|
|
|
$token = strtoupper($token);
|
|
|
|
|
|
|
|
|
|
|
|
$header[] = 'Content-Type: application/x-www-form-urlencoded,application/json';
|
|
|
|
$header[] = 'Content-Type: application/x-www-form-urlencoded,application/json';
|
|
|
|
|