1.通过 rabbitmq 发送 AI 消息
This commit is contained in:
@@ -42,10 +42,10 @@ public class LogInterceptor {
|
||||
Object[] args = point.getArgs();
|
||||
String reqParam = "[" + StringUtils.join(args, ", ") + "]";
|
||||
// 输出请求日志
|
||||
// log.info("request start,id: {}, path: {}, ip: {}, params: {}", requestId, url,
|
||||
// httpServletRequest.getRemoteHost(), reqParam);
|
||||
log.info("request start,id: {}, path: {}, ip: {}", requestId, url,
|
||||
httpServletRequest.getRemoteHost());
|
||||
log.info("request start,id: {}, path: {}, ip: {}, params: {}", requestId, url,
|
||||
httpServletRequest.getRemoteHost(), reqParam);
|
||||
// log.info("request start,id: {}, path: {}, ip: {}", requestId, url,
|
||||
// httpServletRequest.getRemoteHost());
|
||||
// 执行原方法
|
||||
Object result = point.proceed();
|
||||
// 输出响应日志
|
||||
|
||||
Reference in New Issue
Block a user