放开日志

This commit is contained in:
GYJ 2025-03-06 09:52:40 +08:00
parent bd9e9d6f4b
commit aa23423f28
1 changed files with 3 additions and 2 deletions

View File

@ -24,7 +24,7 @@ import javax.servlet.http.HttpServletRequest;
@Aspect
@Component
@Slf4j
@Profile({"dev"})
//@Profile({"dev"})
public class AppApiMethodAspect {
@Pointcut("!execution(public * (com.sqx.modules.sys.controller.SysLoginController).*(..)) " +
@ -57,7 +57,8 @@ public class AppApiMethodAspect {
long useTime = end - start;
ThreadUtil.execAsync(() -> {
//请求的参数
String resultJson = new Gson().toJson(result);
// String resultJson = new Gson().toJson(result);
String resultJson = "1";
try {
if (StringUtils.isNotBlank(resultJson) && !"null".equals(resultJson)) {
log.info("\n>>>>>> {} {}" +