package org.springblade.yeePay.listener;

import com.alibaba.fastjson.JSONObject;
import org.springblade.yeePay.event.TransferEvent;
import org.springframework.context.event.EventListener;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

@Component
public class TransferNotifyListener {

	/**
	 * 	转账回调业务逻辑处理
	 * @param  transferEvent 回调事件
	 * */
	@EventListener
	@Async
	public void notifyBusiness(TransferEvent transferEvent){
		//获取回调信息，解密后的数据
		JSONObject decryptData = transferEvent.getDecryptData();


	}



}
