mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-23 07:41:53 +08:00
【添加】YuDaoMidjourneyMessageHandler 处理Midjourney 业务
This commit is contained in:
parent
e43f7cbbcd
commit
f5387d9d5a
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user