Commit cfeb4bdca47f1ae807c86633ab82de83a8f95db2
1 parent
7268f002
【添加】midjourney job(同步 mj 结果) 未实现
Showing
2 changed files
with
25 additions
and
0 deletions
yudao-module-ai/yudao-module-ai-biz/pom.xml
| ... | ... | @@ -47,6 +47,10 @@ |
| 47 | 47 | <groupId>cn.iocoder.boot</groupId> |
| 48 | 48 | <artifactId>yudao-spring-boot-starter-test</artifactId> |
| 49 | 49 | </dependency> |
| 50 | + <dependency> | |
| 51 | + <groupId>cn.iocoder.boot</groupId> | |
| 52 | + <artifactId>yudao-spring-boot-starter-job</artifactId> | |
| 53 | + </dependency> | |
| 50 | 54 | </dependencies> |
| 51 | 55 | <build> |
| 52 | 56 | <plugins> | ... | ... |
yudao-module-ai/yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/job/MidjourneyJob.java
0 → 100644
| 1 | +package cn.iocoder.yudao.module.ai.job; | |
| 2 | + | |
| 3 | +import cn.iocoder.yudao.framework.quartz.core.handler.JobHandler; | |
| 4 | +import org.springframework.stereotype.Component; | |
| 5 | + | |
| 6 | +/** | |
| 7 | + * midjourney job(同步 mj 结果) | |
| 8 | + * | |
| 9 | + * @author fansili | |
| 10 | + * @time 2024/5/28 17:57 | |
| 11 | + * @since 1.0 | |
| 12 | + */ | |
| 13 | +@Component | |
| 14 | +public class MidjourneyJob implements JobHandler { | |
| 15 | + | |
| 16 | + @Override | |
| 17 | + public String execute(String param) throws Exception { | |
| 18 | + // todo @范 同步 midjourney proxy 结果 | |
| 19 | + return ""; | |
| 20 | + } | |
| 21 | +} | ... | ... |