资料档案库-左侧树状列表完成

This commit is contained in:
2026-09-20 17:17:50 +08:00
parent da6930034b
commit 92162ae4dc
5 changed files with 60 additions and 22 deletions
+16
View File
@@ -0,0 +1,16 @@
import { request } from '../request';
// 资料库树状列表
export function docListApi() {
return request({
url: `/api/knowledge/tree`,
method: 'get',
});
}
// 历史版本列表
export function historyVersionListApi(docId:number) {
return request({
url: `/api/knowledge/${docId}/history`,
method: 'get',
});
}