【添加】YuDaoMidjourneyMessageHandler 处理Midjourney 业务

This commit is contained in:
cherishsince 2024-04-29 14:52:21 +08:00
parent e43f7cbbcd
commit f5387d9d5a

View File

@ -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);
}
}