package com.casic.missiles.event.listener;

import com.casic.missiles.event.UserEvent;
import com.casic.missiles.model.application.event.core.EventSubscriber;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 用户事件订阅
 *
 * @author lwh
 */
@Slf4j
@Component
public class UserTwoListener extends EventSubscriber<UserEvent> {
    @Override
    public void onApplicationEvent(UserEvent event) {
        log.debug("用户2订阅:{}", event);
    }
}
