This commit is contained in:
2025-10-22 21:11:59 +08:00
parent d18177452b
commit 80718dfc8b
4 changed files with 106 additions and 2 deletions

View File

@@ -27,3 +27,10 @@ export function updateSiteConfig(): AppThunk {
}
};
}
export function getAnnouncement(): AppThunk {
return async (dispatch, _getState) => {
// 获取基本配置,其中包含公告信息
await dispatch(loadSiteConfig("basic"));
};
}