Commit Graph

11 Commits

Author SHA1 Message Date
zyh
7317866f98 实现JWT身份认证机制,新增JWT认证过滤器和服务,更新链接生成接口以支持JWT验证,删除旧的用户控制器,添加JWT认证文档,增强错误处理和日志记录。 2025-08-25 21:26:16 +08:00
zyh
3f01d8590a 添加Apache Commons Codec依赖以支持SHA-256和十六进制工具,并在application.yml中新增外部脚本配置及链接过期时间设置。同时,删除不再使用的类文件以清理项目结构。 2025-08-24 20:46:35 +08:00
zyh
c3762f985e 更新账户更新请求DTO,添加用户类型、用户名和积分余额字段,并在AccountService中实现相应的验证和更新逻辑,确保用户名唯一性和积分余额的正确处理。 2025-08-24 20:00:12 +08:00
zyh
4664f1c487 添加Swagger/OpenAPI依赖并更新用户账户管理相关的API文档注释,优化用户和管理员账户控制器的接口描述,移除不必要的字段和参数,调整数据库映射以简化用户账户管理逻辑。 2025-08-24 19:21:54 +08:00
zyh
1b3ce1040a Refactor account management DTOs by removing displayName and role fields from AccountCreateRequest, AccountUpdateRequest, and AccountResponse, and updating related logic in AccountService. Adjust alwaysApply setting in zh.mdc to false. 2025-08-24 18:41:57 +08:00
zyh
f37159e1fc Refactor user account management by replacing User entity with UserAccount, updating UserController and UserService for CRUD operations, and modifying MyBatis mappers accordingly. 2025-08-24 17:42:47 +08:00
zyh
4cfd19195f Add user account management methods and update user-related mappers 2025-08-24 17:06:52 +08:00
zyh
bc1f10381a Enhance authentication logging and update MyBatis configuration 2025-08-24 16:52:20 +08:00
zyh
51d6319121 Update CORS configuration in SecurityConfig to enable custom settings 2025-08-24 15:54:44 +08:00
zyh
c65c03b933 Refactor authentication logic to unify user account handling and update database schema for user accounts 2025-08-24 15:54:21 +08:00
zyh
be437a360d first commit 2025-08-24 15:33:03 +08:00