package com.jeesharp.business.modules.setting.application;

import com.jeesharp.business.modules.contentsecurity.event.ContentSecurityMediaCompletedEvent;
import lombok.AllArgsConstructor;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

/**
 * 监听微信异步图片检测完成事件，回写意见反馈状态。
 *
 * @author jeesharp
 * @since 2026-06-27
 */
@Component
@AllArgsConstructor
public class FeedbackContentSecurityMediaListener {

    private final FeedbackApplicationService feedbackApplicationService;

    @EventListener
    public void onMediaCompleted(ContentSecurityMediaCompletedEvent event) {
        feedbackApplicationService.handleContentSecurityMediaCompleted(event);
    }
}
