From 72ba57c7b75cb8f4c9dbd5e54d2999d7a312650a Mon Sep 17 00:00:00 2001 From: xucong <850806214@qq.com> Date: Fri, 15 Nov 2024 14:21:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E9=80=9A=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/Gt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/Gt.php b/app/api/controller/Gt.php index 3983808e..76b18915 100644 --- a/app/api/controller/Gt.php +++ b/app/api/controller/Gt.php @@ -36,7 +36,7 @@ MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwRUsPpbQPhBWrxFhG00k9VBgnHc7dCZyTQYI $str .= "&openid=" . "ouOMm41xnIKqoZ66ygwJa-qJQpgw"; //openid $str .= "&payWay=1"; //支付方式 $str .= "&ip=" . $_SERVER['REMOTE_ADDR']; //支付方式 - $str .= "&timeStamp=" . time(); //时间戳 + $str .= "&timeStamp=" . date("Y-m-d H:i:s"); //时间戳 $str .= "&version=1.0.0"; //版本号 // $sha256 = hash("sha256", $str); var_dump($str);