docs: x
This commit is contained in:
parent
c8faea4d3c
commit
4c0d3f89d2
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue