Commit de9b1b40 authored by hangjun83's avatar hangjun83

财务开票模块更新

parent 3633884b
...@@ -205,7 +205,7 @@ class BaiwangApiService extends PlatformAbstractService ...@@ -205,7 +205,7 @@ class BaiwangApiService extends PlatformAbstractService
"host: ".$host."\n". "host: ".$host."\n".
"x-htjs-nonce: ".$nonce."\n". "x-htjs-nonce: ".$nonce."\n".
"x-htjs-ua: ".$ua; "x-htjs-ua: ".$ua;
$signature = $this->base64UrlEncode(hash_hmac('sha256', $sign_str, $sercret, true)); $signature = base64_encode(hash_hmac("sha256", $sign_str, $sercret, true));
return [ return [
'date' => $date, 'date' => $date,
......
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