feat: 포인트 적립내역 조회 — GET /auth/point-history
- point_history 최신순 조회(최대 100건), PointHistoryResponse - PointService.getHistory, 인터셉터 경로 등록 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
629ab1f811
commit
d1c13e7cc1
@@ -87,6 +87,13 @@ public class AuthController {
|
||||
return java.util.Map.of("points", pointService.getPoints(current.getId()));
|
||||
}
|
||||
|
||||
/** 포인트 적립/차감 내역 (최신순) */
|
||||
@GetMapping("/point-history")
|
||||
public java.util.List<com.sb.web.point.PointHistoryResponse> pointHistory(
|
||||
@RequestAttribute(AuthInterceptor.CURRENT_MEMBER) SessionUser current) {
|
||||
return pointService.getHistory(current.getId());
|
||||
}
|
||||
|
||||
@PutMapping("/password")
|
||||
public ResponseEntity<Void> changePassword(
|
||||
@Valid @RequestBody PasswordChangeRequest req,
|
||||
|
||||
Reference in New Issue
Block a user