From e1c1fefa2022738cadd8478065121c1b812c1e6f Mon Sep 17 00:00:00 2001 From: wangqiao Date: Wed, 3 Sep 2025 09:50:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0TDK=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=B9=B6=E4=BF=AE=E6=AD=A3=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/home/index.ts | 7 +++++++ api/home/type.ts | 4 ++-- pages/index.vue | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/api/home/index.ts b/api/home/index.ts index f06a8ad..2121ff5 100644 --- a/api/home/index.ts +++ b/api/home/index.ts @@ -95,4 +95,11 @@ export const getDictTree = (params: { type: number, id: number}) => { */ export const getTDK = () => { return useFetchRequest.get>('/prod-api/app-api/business/tdk-settings/get-index', {}) +} + +/** + * 获得网站 TDK栏目列表 + */ +export const getTDKList = () => { + return useFetchRequest.get>('/prod-api/app-api/business/tdk-settings/list-menu', {}) } \ No newline at end of file diff --git a/api/home/type.ts b/api/home/type.ts index 4600e52..0a3873a 100644 --- a/api/home/type.ts +++ b/api/home/type.ts @@ -109,6 +109,6 @@ export interface PageResultIndexSettingRespVO { export interface TdkSettingsRespVO { title: string - describe: string - keywork: string + describeText: string + keyword: string } diff --git a/pages/index.vue b/pages/index.vue index 6e6d7df..bca3aa7 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,6 +1,6 @@