mirror of
https://gitcode.com/ageerle/ruoyi-ai.git
synced 2026-09-13 00:14:59 +00:00
fix: 修复本地启动、数据库初始化与构建问题
This commit is contained in:
@@ -72,6 +72,21 @@
|
||||
<groupId>com.talanlabs</groupId>
|
||||
<artifactId>avatar-generator-cat</artifactId>
|
||||
<version>${avatar-generator.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.javassist</groupId>
|
||||
<artifactId>javassist</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<!-- avatar-generator-cat pulls an obsolete Javassist POM that Maven 3.9
|
||||
warns about. Reflections 0.9.10 is compatible with the maintained
|
||||
drop-in replacement. -->
|
||||
<dependency>
|
||||
<groupId>org.javassist</groupId>
|
||||
<artifactId>javassist</artifactId>
|
||||
<version>${javassist.version}</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@ import java.util.List;
|
||||
@AllArgsConstructor
|
||||
public class CompileNode {
|
||||
protected String id;
|
||||
@Builder.Default
|
||||
protected Boolean conditional = false;
|
||||
|
||||
/**
|
||||
@@ -24,5 +25,6 @@ public class CompileNode {
|
||||
* 2. 当前节点为条件分支节点,下游节点为多个节点,实际执行时只会执行一条
|
||||
* 两种节点根据是否GraphCompileNode来区分
|
||||
*/
|
||||
@Builder.Default
|
||||
protected List<CompileNode> nextNodes = new ArrayList<>();
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@ import java.util.List;
|
||||
@NoArgsConstructor
|
||||
public class NodeProcessResult {
|
||||
|
||||
@Builder.Default
|
||||
private List<NodeIOData> content = new ArrayList<>();
|
||||
|
||||
/**
|
||||
@@ -25,6 +26,7 @@ public class NodeProcessResult {
|
||||
/**
|
||||
* 是否发生错误
|
||||
*/
|
||||
@Builder.Default
|
||||
private boolean error = false;
|
||||
|
||||
/**
|
||||
|
||||
@@ -26,7 +26,9 @@ class FfmpegCommandBuilderTest {
|
||||
List.of(source),
|
||||
TransitionType.NONE,
|
||||
0,
|
||||
AspectRatio.PORTRAIT
|
||||
AspectRatio.PORTRAIT,
|
||||
null,
|
||||
false
|
||||
);
|
||||
FfmpegFilterGraph graph = new FfmpegFilterGraph(
|
||||
"[0:v]null[v0]",
|
||||
|
||||
@@ -183,6 +183,6 @@ class FfmpegFilterGraphBuilderTest {
|
||||
List<CompositionSource> sources = java.util.stream.IntStream.range(0, sourceCount)
|
||||
.mapToObj(index -> new CompositionSource(Path.of("clip-" + index + ".mp4"), null))
|
||||
.toList();
|
||||
return new CompositionSpec(sources, transition, duration, ratio);
|
||||
return new CompositionSpec(sources, transition, duration, ratio, null, false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user