|
|
@ -52,7 +52,7 @@ class Request
|
|
|
|
'timestamp' => $this->timestamp,
|
|
|
|
'timestamp' => $this->timestamp,
|
|
|
|
'nonce_str' => $this->nonceStr,
|
|
|
|
'nonce_str' => $this->nonceStr,
|
|
|
|
'sign_type' => $this->signType,
|
|
|
|
'sign_type' => $this->signType,
|
|
|
|
'content' => json_encode($this->content),
|
|
|
|
'content' => json_encode($this->content, JSON_UNESCAPED_UNICODE),
|
|
|
|
];
|
|
|
|
];
|
|
|
|
$params[Sign::SIGN_KEY] = Sign::generate($params, $this->secretKey);
|
|
|
|
$params[Sign::SIGN_KEY] = Sign::generate($params, $this->secretKey);
|
|
|
|
return $params;
|
|
|
|
return $params;
|
|
|
|