package com.tangguo.common.listener;

import com.tangguo.common.constant.ActiveMQConstant;
import com.tangguo.domain.OperateDetail;
import lombok.extern.slf4j.Slf4j;
import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Component;

import javax.jms.Message;

/**
 * 用户操作事件监听器
 *
 * @author 谈笑
 * @createTime 2025-09-01 16:03:08 星期一
 */
@Slf4j
@Component
public class UserOperateListener {

	/**
	 * 增加用户积分消息
	 *
	 * @param detail 积分明细
	 */
	@JmsListener(destination = ActiveMQConstant.Operate.USER_OPERATE, containerFactory = ActiveMQConstant.QUEUE_CONTAINER_BEAN)
	public void operateListener(OperateDetail detail, Message message) {

	}

}
