...
This commit is contained in:
parent
e01b67d1ec
commit
5a0e6fa15b
@ -347,6 +347,8 @@ class ShopController extends BaseAuthedController
|
||||
|
||||
$signature = hash_hmac('sha256', $hash_data, BUY_SERVER_PKEY);
|
||||
|
||||
error_log("buyGoodsDirect-------" . $signature . "---" . $sign . "---" . json_encode($data));
|
||||
|
||||
if ($signature != $sign) {
|
||||
$this->_rspErr(1, "signature error, signature: {$signature}, sign: {$sign}");
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user