Skip to content

Let's use AI to Earn!

feat: 草稿生成补充type字段

Nevineed3d7d4f9d0
diff --git a/src/api/material.ts b/src/api/material.ts
index 0c260529..c8e03482 100644
--- a/src/api/material.ts
+++ b/src/api/material.ts
@@ -7,10 +7,16 @@ export interface MaterialMedia {
content?: string;
}
+export enum MaterialType {
+ VIDEO = 'video', // 视频
+ ARTICLE = 'article', // 文章
+}
+
export interface NewMaterialTask {
groupId: string;
num: number;
aiModelTag: string;
+ type: MaterialType;
prompt: string;
title?: string;
desc?: string;