This commit is contained in:
aozhiwei 2022-04-02 14:54:18 +08:00
parent 0c29814abe
commit 0b1121b9fc

View File

@ -483,7 +483,7 @@ class MarketController extends BaseController {
{ {
$account = getReqVal('account', ''); $account = getReqVal('account', '');
$token = getReqVal('token', ''); $token = getReqVal('token', '');
$nonce = myself()->_getNowTime(); $nonce = uniqid() . '_' . myself()->_getNowTime();
myself()->_rspData(array( myself()->_rspData(array(
'state' => $this->isValidToken($account, $token) ? 1 : 0, 'state' => $this->isValidToken($account, $token) ? 1 : 0,
'nonce' => $nonce, 'nonce' => $nonce,