[edit] sign header

This commit is contained in:
bvbej 2021-12-03 11:22:48 +08:00
parent ac4a56fe6d
commit 81844ef50b

View File

@ -120,7 +120,7 @@ class BvBeJHandle
RequestOptions::FORM_PARAMS => $form, RequestOptions::FORM_PARAMS => $form,
RequestOptions::HEADERS => [ RequestOptions::HEADERS => [
'Signature' => $signature, 'Signature' => $signature,
'Signature-Date' => date($this::DATE_FORMAT, $timestamp), 'Signature-Datetime' => date($this::DATE_FORMAT, $timestamp),
'Product-ID' => $productID 'Product-ID' => $productID
] ]
]); ]);