package org.springblade.yeePay.listener;

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


@Component
public class BatchTransferNotifyListener {


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

	}

}
