package com.casic.missiles.event.listener;

import com.casic.missiles.core.application.event.UserLoginEvent;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

/**
 * 用户事件订阅
 *
 * @author lwh
 */
@Slf4j
@Component
public class UserOneListener {
    @EventListener
    public void onApplicationEvent(UserLoginEvent event) {
        log.debug("用户1订阅:{}", event);
    }
}
