master
cody 5 months ago
parent fd0873a4d9
commit ca2f4c738c

@ -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';

Loading…
Cancel
Save