feat(api): 添加热门卡片与榜单接口及实现
- 新增热门帖子、热门作者、榜单接口及实现 - 新增api-documentation,更好的ai协作 - 修复types没有导出的问题 BREAKING CHANGES: 1.0.0->1.1.0(latest)
This commit is contained in:
@@ -48,7 +48,7 @@ export class DefaultSessionManager {
|
||||
this.currentUser = response.user;
|
||||
// 如果成功获取用户信息,触发session_authenticated事件
|
||||
authEventManager.emit('session_authenticated', this.currentUser);
|
||||
return this.currentUser;
|
||||
return response.user;
|
||||
} catch (error) {
|
||||
this.currentUser = null;
|
||||
// 如果获取用户信息失败,触发session_expired事件
|
||||
|
||||
Reference in New Issue
Block a user