diff --git a/yudao-module-ai/yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/service/midjourneyHandler/YuDaoMidjourneyMessageHandler.java b/yudao-module-ai/yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/service/midjourneyHandler/YuDaoMidjourneyMessageHandler.java new file mode 100644 index 000000000..5e065bbfd --- /dev/null +++ b/yudao-module-ai/yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/service/midjourneyHandler/YuDaoMidjourneyMessageHandler.java @@ -0,0 +1,23 @@ +package cn.iocoder.yudao.module.ai.service.midjourneyHandler; + +import cn.iocoder.yudao.framework.ai.midjourney.MidjourneyMessage; +import cn.iocoder.yudao.framework.ai.midjourney.webSocket.MidjourneyMessageHandler; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Component; + +/** + * yudao message handler + * + * @author fansili + * @time 2024/4/29 14:34 + * @since 1.0 + */ +@Component +@Slf4j +public class YuDaoMidjourneyMessageHandler implements MidjourneyMessageHandler { + + @Override + public void messageHandler(MidjourneyMessage midjourneyMessage) { + log.info("yudao-midjourney-midjourney-message-handler", midjourneyMessage); + } +}