master
elf 2 years ago
parent 2364d8d211
commit d073456cc4

@ -938,7 +938,7 @@ class NotifyController extends BaseController
FFLog::write('NOTIFY_INPUT:' . json_encode($_POST));
FFLog::write('NOTIFY_INPUT:' . file_get_contents('php://input'));
$params = json_decode(':{"requestId":"SP_20230220173450O0Cp","description":"","payId":"230220608569818945","fiscalDate":"20230220","payType":"27","bankCode":"alipay","totalPrice":"6.00","tradeAmount":"6.00","tradeFee":"0.05","status":"2","endTime":"2023-02-20 17:35:18","resultSignature":"02b003ffe38a52268ef682866b17e74b"}', true);
$params = json_decode('{"requestId":"SP_20230220173450O0Cp","description":"","payId":"230220608569818945","fiscalDate":"20230220","payType":"27","bankCode":"alipay","totalPrice":"6.00","tradeAmount":"6.00","tradeFee":"0.05","status":"2","endTime":"2023-02-20 17:35:18","resultSignature":"02b003ffe38a52268ef682866b17e74b"}', true);
$notify = new FFNotify($params);
if (!$notify->verify()) {

Loading…
Cancel
Save