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
  • test
  • java
08 May, 2026
3 commits
  • feat(usr): JwtUtil generate + parse access/refresh token REQ-USR-004 ...
    7fbd1447
    - JwtProperties: @ConfigurationProperties("jwt") with secret/expiry
    - JwtUtil: generateAccessToken/generateRefreshToken/parseAccessToken/parseRefreshToken
    - parseRefreshToken validates type=refresh claim, throws 40103 if mismatch
    - JwtUtilTest: 3 tests PASS
    zichun authored
    2026-05-08 09:48:56 +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 »
  • chore(backend): init Spring Boot 3 project skeleton REQ-USR-004 ...
    199a3381
    - pom.xml: Spring Boot 3.3.5, MyBatis-Plus 3.5.7, JJWT 0.12.6, Flyway 10.x
    - application.yml: DB/JWT from env vars, Flyway baseline-on-migrate=true
    - V1 migration copied to classpath:db/migration
    - ApplicationContextTest: @SpringBootTest context loads + Flyway baseline OK
    zichun authored
    2026-05-08 09:46:15 +0800  
    Browse Code »