Logo

GitLab

Sign in

朱子纯 / test3

  • Back to Dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 1
  • Labels
  • Wiki
  • Snippets
  • Commits 42
  • Compare
  • Branches 4
  • Tags 0
  • test3
  • backend
  • src
  • main
  • java
  • com
  • example
  • erp
  • module
  • usr
  • dto
08 May, 2026
3 commits
  • feat(usr): 添加 PageVO / UserListQueryDTO / UserListItemVO REQ-USR-003
    32dcaa25
    zichun authored
    2026-05-08 11:29:52 +0800  
    Browse Code »
  • feat(usr): 增加用户后端实现 REQ-USR-001 ...
    ff5af471
    - UserPrincipal record + JwtAuthenticationFilter 注入用户上下文
    - SecurityConfig 补充 authenticationEntryPoint 返回 401
    - UserService/UserServiceImpl: 创建用户、获取员工列表、获取权限组
    - UserController: POST /users、GET /users/staffs、GET /users/permission-groups
    - UserServiceTest (6 cases) + UserControllerTest (5 cases) 全部通过
    zichun authored
    2026-05-08 10:58:31 +0800  
    Browse Code »
  • feat(usr): AuthService login/refresh/getBrands + BizException + BeanConfig REQ-USR-004 ...
    79a8340d
    - LoginReqDTO/RefreshTokenReqDTO/LoginVO/BrandVO DTO/VO
    - AuthService interface: login/refresh/getBrands
    - AuthServiceImpl: multi-tenant brand query, BCrypt, disabled/lock check,
      fail count (5x → lock 30min), success reset; refresh token validate + re-issue;
      getBrands ORDER BY sName
    - UpdateWrapper (string columns) avoids LambdaWrapper unit test issue
    - BeanConfig: @Bean BCryptPasswordEncoder
    - AuthServiceTest: 10/10 PASS (7 login + 3 refresh/brands)
    zichun authored
    2026-05-08 09:54:34 +0800  
    Browse Code »