feat: 完成情绪博物馆项目重构和功能增强 - 新增日记评论和帖子功能 - 重构前端架构,优化用户体验 - 完善WebSocket通信机制 - 更新项目文档和部署配置

This commit is contained in:
2025-07-27 10:05:59 +08:00
parent 6903ac1c0d
commit cc886cd4d5
126 changed files with 21179 additions and 15734 deletions
+11
View File
@@ -0,0 +1,11 @@
import request from '@/utils/request';
export function publishDiary(data: any) {
return request.post('/diary-post/publish', data);
}
export function getUserDiaries(userId: string, page = 1, size = 10) {
return request.get(`/diary-post/user/${userId}/page`, {
params: { current: page, size }
});
}