refactor(time): 优化时间格式反序列化并统一时间格式- 新增 LocalDateTimeDeserializer 类,用于自定义 LocalDateTime 类型的反序列化逻辑

- 在 MusicDTO、PlaylistDTO、SingerDTO 和 UserDTO 中使用 LocalDateTimeDeserializer
-统一时间格式为 "yyyy-MM-dd HH:mm:ss"
- 移除了 SaTokenConfig 和 StpInterfaceImpl 中的调试信息打印
This commit is contained in:
ikmkj
2025-08-10 14:42:23 +08:00
parent bf27209022
commit e30011cee2
7 changed files with 60 additions and 9 deletions

View File

@@ -45,9 +45,6 @@ public class StpInterfaceImpl implements StpInterface {
} else {
roles.add("user");
}
// 打印调试信息
System.out.println("用户ID: " + userId + ", 角色: " + roles);
});
return roles;