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
  • common
  • constants
08 May, 2026
2 commits
  • 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): common Result/BizException/AuthErrorCode/GlobalExceptionHandler REQ-USR-004 ...
    75fa00a6
    - Result<T>: ok()/fail() with code/message/data/timestamp
    - BizException: carries int code
    - AuthErrorCode: 40100/40101/40102/40103 constants
    - GlobalExceptionHandler: BizException, validation, fallback 99000
    zichun authored
    2026-05-08 09:47:15 +0800  
    Browse Code »