From ac70bd3df55bea9d15fe6c17517ff0dff5c4f72e Mon Sep 17 00:00:00 2001 From: xl Date: Tue, 7 Nov 2023 16:07:57 +0800 Subject: [PATCH] Default Changelist --- wchat/wx/V3/WxV3PaymentTait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wchat/wx/V3/WxV3PaymentTait.php b/wchat/wx/V3/WxV3PaymentTait.php index c64d5d5..eb1833a 100644 --- a/wchat/wx/V3/WxV3PaymentTait.php +++ b/wchat/wx/V3/WxV3PaymentTait.php @@ -41,7 +41,7 @@ trait WxV3PaymentTait { $rand = md5(random_bytes(32)); $time = time(); - $message = sprintf("%s\n%s\n%d\n%s\n\n", $http_method, $canonical_url, $time, $rand); + $message = sprintf("%s\n%s\n%d\n%s\n[]\n", $http_method, $canonical_url, $time, $rand); $sign = $this->openssl_signature($message);