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 @@