Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
581a9a5537 |
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user