Commit 1eb3d587 authored by hangjun83's avatar hangjun83

财务开票模块更新

parent c12afe24
......@@ -208,11 +208,11 @@ class BaiwangApiService extends PlatformAbstractService
$signature = base64_encode(hash_hmac('sha256', $sign_str, $sercret, true));
return [
'Date' => $date,
'Host' => $host,
'date' => $date,
'host' => $host,
'x-htjs-nonce' => $nonce,
'x-htjs-ua' => $ua,
'Authorization' => 'hmac username="'.$key.'", algorithm="hmac-sha256", headers="request-line date host x-htjs-nonce x-htjs-ua", signature="'.$signature.'"'
'Authorization' => 'hmac username="'.$key.'", algorithm="hmac-sha256", headers="request-line date host x-htjs-nonce x-htjs-ua", signature="'.urlencode($signature).'"'
];
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment