{"id":"d532ce76-575e-5d77-bbfa-2df56c254e7b","create_time":"2023-07-14T11:36:26+08:00","resource_type":"encrypt-resource","event_type":"TRANSACTION.SUCCESS","summary":"支付成功","resource":{"original_type":"transaction","algorithm":"AEAD_AES_256_GCM","ciphertext":{"mchid":"1605829157","appid":"wxe1e4cb7669da0a3c","out_trade_no":"0001230714113627192410","transaction_id":"4200001950202307142116440071","trade_type":"NATIVE","trade_state":"SUCCESS","trade_state_desc":"支付成功","bank_type":"OTHERS","attach":"MZCF000221570","success_time":"2023-07-14T11:36:26+08:00","payer":{"openid":"oeAH56v6c4Xpc-r42mUSCiitOSlI"},"amount":{"total":2000,"payer_total":2000,"currency":"CNY","payer_currency":"CNY"},"scene_info":{"device_id":"5301280001"}},"associated_data":"transaction","nonce":"1lfvLQO2CER8"}}
{"id":"cf259159-51c7-5782-b851-b27be1a80cd4","create_time":"2023-07-14T11:35:33+08:00","resource_type":"encrypt-resource","event_type":"TRANSACTION.SUCCESS","summary":"支付成功","resource":{"original_type":"transaction","algorithm":"AEAD_AES_256_GCM","ciphertext":{"mchid":"1605829157","appid":"wxe1e4cb7669da0a3c","out_trade_no":"0001230714113530537494","transaction_id":"4200001825202307144584549449","trade_type":"NATIVE","trade_state":"SUCCESS","trade_state_desc":"支付成功","bank_type":"OTHERS","attach":"MZCF000221570","success_time":"2023-07-14T11:35:33+08:00","payer":{"openid":"oeAH56v6c4Xpc-r42mUSCiitOSlI"},"amount":{"total":2000,"payer_total":2000,"currency":"CNY","payer_currency":"CNY"},"scene_info":{"device_id":"5301280001"}},"associated_data":"transaction","nonce":"NaIywy7fLnZ5"}}
记得做函数防抖,不然可能会重复请求支付接口。