feat: 修复修改角色时候报错&优化一些代码风格

This commit is contained in:
l90215
2025-06-26 10:19:08 +08:00
parent bf790ceb51
commit 4e2ec2dc82
3 changed files with 4 additions and 3 deletions

View File

@@ -169,6 +169,7 @@ public class ChatCostServiceImpl implements IChatCostService {
/**
* 获取用户Id
*/
@Override
public Long getUserId() {
LoginUser loginUser = LoginHelper.getLoginUser();
if (loginUser == null) {