浏览代码

add IArticleMap

visuddhinanda 3 年之前
父节点
当前提交
c7e18f3bd0
共有 1 个文件被更改,包括 17 次插入0 次删除
  1. 17 0
      dashboard/src/components/api/Article.ts

+ 17 - 0
dashboard/src/components/api/Article.ts

@@ -104,3 +104,20 @@ export interface IAnthologyCreateRequest {
   lang: string;
   studio: string;
 }
+
+export interface IArticleMapRequest {
+  id?: string;
+  collect_id: string;
+  article_id: string;
+  level: number;
+  title: string;
+  children: number;
+}
+export interface IArticleMapListResponse {
+  ok: boolean;
+  message: string;
+  data: {
+    rows: IArticleMapRequest[];
+    count: number;
+  };
+}