Merge branch 'feature_bugfix/251201_py_h5_ui' of https://git.valuefrontier.cn/vf/vf_react into feature_bugfix/251201_py_h5_ui
This commit is contained in:
@@ -263,6 +263,26 @@ export const accountHandlers = [
|
||||
});
|
||||
}),
|
||||
|
||||
// 10. 获取事件帖子(用户发布的评论/帖子)
|
||||
http.get('/api/account/events/posts', async () => {
|
||||
await delay(NETWORK_DELAY);
|
||||
|
||||
const currentUser = getCurrentUser();
|
||||
if (!currentUser) {
|
||||
return HttpResponse.json(
|
||||
{ success: false, error: '未登录' },
|
||||
{ status: 401 }
|
||||
);
|
||||
}
|
||||
|
||||
console.log('[Mock] 获取事件帖子');
|
||||
|
||||
return HttpResponse.json({
|
||||
success: true,
|
||||
data: mockEventComments // 复用 mockEventComments 数据
|
||||
});
|
||||
}),
|
||||
|
||||
// ==================== 投资计划与复盘 ====================
|
||||
|
||||
// 10. 获取投资计划列表
|
||||
|
||||
Reference in New Issue
Block a user