refactor(backend): 重构后端admin和schedule部分

This commit is contained in:
sophie committed 2026-07-01 13:34:29 +08:00
1 parent 9f5493185d
commit 4a14960e01
74 files changed
+5937 -3644

No files matched your search

@@ -194,7 +194,7 @@ export function useWorkspaceHome(deps: WorkspaceDeps, options: HomeOptions) {
const fetchAnnouncements = async () => {
try {
announcements.value = await requestJson<WorkspaceAnnouncement[]>('/api/user/announcements');
announcements.value = await requestJson<WorkspaceAnnouncement[]>('/api/workspace/announcements');
} catch (e) {
console.error('Failed to load announcements', e);
}