From ce7b03a240e78c7477e49fbd4d99f59564ea3e25 Mon Sep 17 00:00:00 2001 From: zhangxiaomeng <1362468712@qq.com> Date: Thu, 6 Feb 2025 08:31:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E7=AB=A0=E8=AF=A6=E6=83=85=E8=8E=B7?= =?UTF-8?q?=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kcui/src/api/kcInfo.js | 10 +++ kcui/src/view/TWInfo.vue | 46 +++++++++-- .../main/woka/Web/Controller/KcInfoController.java | 89 ++++++++++++++++------ src/main/java/com/main/woka/Web/Dao/KcInfo.java | 9 +++ 4 files changed, 125 insertions(+), 29 deletions(-) diff --git a/kcui/src/api/kcInfo.js b/kcui/src/api/kcInfo.js index 1128aa1..7833c0b 100644 --- a/kcui/src/api/kcInfo.js +++ b/kcui/src/api/kcInfo.js @@ -12,3 +12,13 @@ export function getDocList(data) { } }) } +export function getTwInfo(id) { + return request({ + url: '/kcDoc/getTwInfo', + method: 'get', + id, + headers: { + 'Authorization': 'Bearer '+ getToken() // 将 token 放在请求头中 + } + }) +} diff --git a/kcui/src/view/TWInfo.vue b/kcui/src/view/TWInfo.vue index 9eb0c16..821e673 100644 --- a/kcui/src/view/TWInfo.vue +++ b/kcui/src/view/TWInfo.vue @@ -44,9 +44,17 @@
- - -
-