1.通过 rabbitmq 发送 AI 消息

This commit is contained in:
2025-08-27 16:42:13 +08:00
parent a7a17667e4
commit 704482ae0e
5 changed files with 76 additions and 28 deletions

View File

@@ -42,10 +42,10 @@ public class LogInterceptor {
Object[] args = point.getArgs();
String reqParam = "[" + StringUtils.join(args, ", ") + "]";
// 输出请求日志
// log.info("request startid: {}, path: {}, ip: {}, params: {}", requestId, url,
// httpServletRequest.getRemoteHost(), reqParam);
log.info("request startid: {}, path: {}, ip: {}", requestId, url,
httpServletRequest.getRemoteHost());
log.info("request startid: {}, path: {}, ip: {}, params: {}", requestId, url,
httpServletRequest.getRemoteHost(), reqParam);
// log.info("request startid: {}, path: {}, ip: {}", requestId, url,
// httpServletRequest.getRemoteHost());
// 执行原方法
Object result = point.proceed();
// 输出响应日志