feat(site): 重构网站信息模块并添加应用信息相关功能

- 新增 AppInfo 接口,用于存储应用信息
- 修改 getSiteInfo API 调用路径
- 更新 site store 中的数据结构和相关方法,支持应用信息- 调整 dashboard 页面中显示的网站信息,改为应用信息
This commit is contained in:
2025-08-13 02:53:45 +08:00
parent 332982f31f
commit 3fc6d21c76
5 changed files with 99 additions and 51 deletions

View File

@@ -26,7 +26,7 @@ export async function getTenantInfo(): Promise<Company> {
*/
export async function getSiteInfo() {
const res = await request.get<ApiResult<CmsWebsite>>(
MODULES_API_URL + '/cms/cms-website/getSiteInfo',
MODULES_API_URL + '/cms/getSiteInfo',
{
params: {
lang: getLang()