package org.springblade.modules.payment.listener;

import org.springblade.modules.payment.entity.SuccessParams;
import org.springblade.modules.payment.event.MallChargeEvent;
import org.springblade.modules.payment.event.UserPayEvent;
import org.springframework.context.event.EventListener;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author: lianghanqiang
 * @description: 代理付款回调
 * @since: 8/5/21 -- 3:01 PM
 */
@Component
public class MallChargeListener {


	@EventListener
	@Async
	@Transactional
	public void PaySuccess(MallChargeEvent mallChargeEvent){
		SuccessParams successParams = mallChargeEvent.getSuccessParams();
	}
}
