放开日志
This commit is contained in:
parent
bd9e9d6f4b
commit
aa23423f28
|
|
@ -24,7 +24,7 @@ import javax.servlet.http.HttpServletRequest;
|
||||||
@Aspect
|
@Aspect
|
||||||
@Component
|
@Component
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@Profile({"dev"})
|
//@Profile({"dev"})
|
||||||
public class AppApiMethodAspect {
|
public class AppApiMethodAspect {
|
||||||
|
|
||||||
@Pointcut("!execution(public * (com.sqx.modules.sys.controller.SysLoginController).*(..)) " +
|
@Pointcut("!execution(public * (com.sqx.modules.sys.controller.SysLoginController).*(..)) " +
|
||||||
|
|
@ -57,7 +57,8 @@ public class AppApiMethodAspect {
|
||||||
long useTime = end - start;
|
long useTime = end - start;
|
||||||
ThreadUtil.execAsync(() -> {
|
ThreadUtil.execAsync(() -> {
|
||||||
//请求的参数
|
//请求的参数
|
||||||
String resultJson = new Gson().toJson(result);
|
// String resultJson = new Gson().toJson(result);
|
||||||
|
String resultJson = "1";
|
||||||
try {
|
try {
|
||||||
if (StringUtils.isNotBlank(resultJson) && !"null".equals(resultJson)) {
|
if (StringUtils.isNotBlank(resultJson) && !"null".equals(resultJson)) {
|
||||||
log.info("\n>>>>>> {} {}" +
|
log.info("\n>>>>>> {} {}" +
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue