This commit is contained in:
toom1996
2025-06-24 19:04:53 +08:00
parent 375244d58b
commit a7cc06cefc
7 changed files with 1404 additions and 0 deletions

View File

@ -68,3 +68,23 @@ export async function newsDetail(id:string):Promise<result<InewsDetail>>{
return result
}
// 网站配置
export interface IWebsiteConfig {
app_name: string
app_description: string
app_company: string
app_logo: string
app_favicon: string
app_copyright: string
app_icp: string
}
export async function websiteConfig(host:string):Promise<result<IWebsiteConfig>>{
const client = getRpcClient()
const result = await client.call('website/config', {
host:host
})
return result
}