Commit c12afe24 authored by hangjun83's avatar hangjun83

财务开票模块更新

parent c9189414
......@@ -208,8 +208,8 @@ 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.'"'
......
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