This commit is contained in:
廖勇坤 2024-08-13 09:26:34 +08:00
parent c8faea4d3c
commit 4c0d3f89d2
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ function response_pos($api, $data) {
global $deviceInfo, $post, $log_id, $db; global $deviceInfo, $post, $log_id, $db;
$noncestr = md5(microtime().'_'.rand()); $noncestr = md5(microtime().'_'.rand());
$time = time(); $time = time();
// 签名计算
$sign = md5($time.$noncestr.$deviceInfo['cardpwd']); $sign = md5($time.$noncestr.$deviceInfo['cardpwd']);
$data['sign'] = $sign; $data['sign'] = $sign;