log저장 class 추가

This commit is contained in:
hehihoho3@gmail.com 2025-11-04 17:57:45 +09:00
parent 2713daecb8
commit 581a9a5537

View File

@ -74,16 +74,6 @@ public class LogAspect {
@Before("execution(* com.itn.mjonApi.mjon.api..*Controller.*(..)) || execution(* com.itn.mjonApi.mjon.api..*Impl.*(..))")
public void before(JoinPoint joinPoint) throws IllegalAccessException, JsonProcessingException {
log.info(" :: AOP before :: ");
//
// for (Object arg : joinPoint.getArgs()) {
// if (arg == null) continue;
//
// // JSON 직렬화해서 VO 전체 출력
// log.info("VO 전체: {}", new ObjectMapper().writeValueAsString(arg));
// log.info("VO 클래스명: {}", arg.getClass().getName());
//
//
// }
HttpServletRequest request = this.getHttpServletRequest();
@ -354,6 +344,9 @@ public class LogAspect {
case "MsgFtRequestVO":
case "String":
case "ArrayList":
case "PriceVO":
case "HstryDetailVO":
case "HstryVO":
return ApiObjectUtil.toJson(returnValue);
default:
log.info("데이터를 추가해 주세요 [{}]", classNm);