diff --git a/api/home/index.ts b/api/home/index.ts index 2121ff5..87b9b56 100644 --- a/api/home/index.ts +++ b/api/home/index.ts @@ -8,6 +8,7 @@ import type { ProjectTrendingScoreUserInfoVO, PageResultIndexSettingRespVO, TdkSettingsRespVO, + TdkSettingsDO, } from './type' /** @@ -101,5 +102,5 @@ export const getTDK = () => { * 获得网站 TDK栏目列表 */ export const getTDKList = () => { - return useFetchRequest.get>('/prod-api/app-api/business/tdk-settings/list-menu', {}) + 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 0a3873a..a622ea6 100644 --- a/api/home/type.ts +++ b/api/home/type.ts @@ -106,9 +106,24 @@ export interface PageResultIndexSettingRespVO { createTime: string } - export interface TdkSettingsRespVO { title: string describeText: string keyword: string } + +export interface TdkSettingsDO { + createTime?: string + updateTime?: string + creator?: string + updater?: string + deleted?: boolean + id?: number + title?: string + icon?: string + type?: number + path: string + describeText?: string + keyword?: string + remark: string +} diff --git a/components/kl-menus-v2/index.vue b/components/kl-menus-v2/index.vue index b0dceff..f9a2bb4 100644 --- a/components/kl-menus-v2/index.vue +++ b/components/kl-menus-v2/index.vue @@ -8,13 +8,13 @@
- {{ item.name }} - 火 + {{ item.remark }} + 火
@@ -31,19 +31,30 @@