master
tping 4 years ago
parent a8e59d7d1c
commit fdcc5cd139

@ -477,9 +477,7 @@ class NotifyController extends BaseController
exit();
}
$payConf = $payData['data'];
$secret = $payConf['secret'];
// pp(C('sqpay.key'));
// $secret = strtoupper(md5(C('sqpay.key')));//支付秘钥
$secret = strtoupper(md5($payConf['secret']));//支付秘钥
// 参与校验
$sign = strtoupper(md5("Amount={$amount}&BillNo={$billNo}&MerNo={$merNo}&Succeed={$succed}&{$secret}"));

Loading…
Cancel
Save