对接关于我们 ,正则法规,帮助中心 ,用户提问模块

This commit is contained in:
linxd
2025-06-18 20:14:11 +08:00
parent e8804d6140
commit 8176a9b3d0
32 changed files with 2094 additions and 506 deletions

View File

@ -112,4 +112,142 @@ declare namespace API {
optionName: string;
}[];
}[]
// 基础分页请求参数
export type BasePageRequest = {
pageNo: number;
pageSize: number;
[property: string]: any;
}
// 帮助中心列表请求参数
export type HelpCenterListRequest = {
basePageRequest: BasePageRequest;
[property: string]: any;
}
// 帮助中心列表响应数据中的记录
export type HelpCenterRecord = {
answerContent?: string;
answerContentNe?: string;
basePageRequest?: null;
content?: string;
contentEn?: string;
createBy?: string;
createDate?: null;
createTime?: string;
deleteFlag?: null;
delFlag?: string;
id?: string;
isTop?: string;
lastUpdateTime?: null;
publishBy?: null;
publishTime?: null;
settingEn?: string;
status?: string;
tenantId?: null;
tenantName?: null;
title?: string;
titleEn?: string;
type?: string;
updateBy?: string;
updateDate?: null;
updateTime?: string;
[property: string]: any;
}
// 帮助中心列表响应数据
export type HelpCenterListResponse = {
countId: null;
current: number;
hitCount: boolean;
maxLimit: null;
optimizeCountSql: boolean;
orders: any[];
pages: number;
records: HelpCenterRecord[];
searchCount: boolean;
size: number;
total: number;
[property: string]: any;
}
// 帮助中心详情请求参数
export type HelpCenterDetailRequest = {
id: string;
[property: string]: any;
}
// 帮助中心详情响应数据
export type HelpCenterDetailResponse = {
answerContent: string;
answerContentNe: string;
basePageRequest: null;
content: string;
contentEn: string;
createBy: string;
createDate: null;
createTime: string;
deleteFlag: null;
delFlag: string;
id: string;
isTop: string;
lastUpdateTime: null;
publishBy: null;
publishTime: null;
settingEn: string;
status: string;
tenantId: null;
tenantName: null;
title: string;
titleEn: string;
type: string;
updateBy: string;
updateDate: null;
updateTime: string;
[property: string]: any;
}
// 用户提问添加请求参数
export type HelpCenterQuestionAddRequest = {
companyName: string;
contactDetails: string;
content: string;
email: string;
fullName: string;
title: string;
type: string;
userName: string;
[property: string]: any;
}
// 关于我们响应数据类型
export interface AboutUsData {
address: string;
addressEn: string;
addressImg: string;
contactsConsult: string;
contactsConsultEn: string;
contactsEmail: string;
contactsEmailEn: string;
contactsPhone: string;
contactsPhoneEn: string;
content: string;
contentEn: string;
createBy: string;
createDate: null;
createTime: string;
deleteFlag: null;
delFlag: string;
id: string;
lastUpdateTime: null;
tenantId: null;
tenantName: null;
title: string;
titleEn: string;
updateBy: string;
updateDate: null;
updateTime: string;
[property: string]: any;
}
}