添加网站TDK设置获取功能
This commit is contained in:
@ -7,6 +7,7 @@ import type {
|
||||
ProjectDrawStatisticAppRespVO,
|
||||
ProjectTrendingScoreUserInfoVO,
|
||||
PageResultIndexSettingRespVO,
|
||||
TdkSettingsRespVO,
|
||||
} from './type'
|
||||
|
||||
/**
|
||||
@ -88,3 +89,10 @@ export const tab2 = () => {
|
||||
export const getDictTree = (params: { type: number, id: number}) => {
|
||||
return useDollarFetchRequest.get<IResponse<ProjectDictNodeVO[]>>('/prod-api/app-api/business/app/dict/path-by-id', { query: params })
|
||||
}
|
||||
|
||||
/**
|
||||
* 获得网站 TDK设置
|
||||
*/
|
||||
export const getTDK = () => {
|
||||
return useFetchRequest.get<IResponse<TdkSettingsRespVO>>('/prod-api/app-api/business/tdk-settings/get-index', {})
|
||||
}
|
||||
@ -105,3 +105,10 @@ export interface PageResultIndexSettingRespVO {
|
||||
status: number
|
||||
createTime: string
|
||||
}
|
||||
|
||||
|
||||
export interface TdkSettingsRespVO {
|
||||
title: string
|
||||
describe: string
|
||||
keywork: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user