From 4c0d3f89d2cb69d772e0e62a0b19273b4059c18f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BB=96=E5=8B=87=E5=9D=A4?= Date: Tue, 13 Aug 2024 09:26:34 +0800 Subject: [PATCH] docs: x --- show/api_pos.php | 1 + 1 file changed, 1 insertion(+) diff --git a/show/api_pos.php b/show/api_pos.php index 19ff2c0..45ac017 100644 --- a/show/api_pos.php +++ b/show/api_pos.php @@ -48,6 +48,7 @@ function response_pos($api, $data) { global $deviceInfo, $post, $log_id, $db; $noncestr = md5(microtime().'_'.rand()); $time = time(); + // 签名计算 $sign = md5($time.$noncestr.$deviceInfo['cardpwd']); $data['sign'] = $sign;