diff --git a/src/api/blog.ts b/src/api/blog.ts new file mode 100644 index 00000000..fb96d459 --- /dev/null +++ b/src/api/blog.ts @@ -0,0 +1,35 @@ +import request from '@/utils/request'; + +class ArticleAPI { + /** 链接初始化接口 */ + static getInit() { + return request({ + url: `diyapi/linkinit`, + method: 'post', + }); + } + /** 文章指定数据 */ + static getAppointList(data: any) { + return request({ + url: `diyapi/articleappointdata`, + method: 'post', + data, + }); + } + /** 文章自动数据 */ + static getAutoList(data: any) { + return request({ + url: `diyapi/articleautodata`, + method: 'post', + data, + }); + } +} + +export default ArticleAPI; + +// 分类树结构 +export interface Tree { + /** 主键 */ + id: string; +} diff --git a/src/components/common/div-content/index.vue b/src/components/common/div-content/index.vue index 6ec33899..d398e5cb 100644 --- a/src/components/common/div-content/index.vue +++ b/src/components/common/div-content/index.vue @@ -106,6 +106,14 @@ + + + +