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
  • exception
  • GlobalExceptionHandler.java
08 May, 2026
2 commits
  • chore(usr): 配置 checkstyle.xml 并修复 5 处 lint 违规 ...
    c0ade4a0
    - 添加 backend/checkstyle.xml(Spring Boot 友好规则集,替换过严的 sun_checks.xml)
    - pom.xml 配置 maven-checkstyle-plugin 使用自定义规则
    - 修复: Application.java 未使用 import
    - 修复: AuthController / UserController 通配符 import 改为精确 import
    - 修复: GlobalExceptionHandler 两处未使用 import
    zichun authored
    2026-05-08 12:37:22 +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 »