|
|
@@ -43,7 +43,7 @@ class NotifyService
|
|
|
if (!$verifiedStatus) {
|
|
|
// 签名值中的 WECHATPAY/SIGNTEST/ 前缀快速判断是否为探测流量
|
|
|
if (str_starts_with($signature, 'WECHATPAY/SIGNTEST/')) {
|
|
|
- throw_logic_exception('The signature is a probe traffic.');
|
|
|
+ throw_logic_exception(msg:'The signature is a probe traffic.',httpCode: 400);
|
|
|
} else {
|
|
|
Log::warning('The signature is invalid. timestamp={timestamp} nonce={nonce} inBody={inBody} signature={signature} serial={serial}', [
|
|
|
'timestamp' => $timestamp,
|