日志打印

This commit is contained in:
wangw 2025-01-06 11:48:04 +08:00
parent 59b978fdb0
commit b850045f72
3 changed files with 7 additions and 2 deletions

View File

@ -10,16 +10,21 @@ import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Component;
import javax.servlet.http.HttpServletRequest;
/**
* 方法调用统一切面处理
*/
@Aspect
@Component
@Slf4j
@Profile({"dev"})
public class AppApiMethodAspect {
@Pointcut("!execution(public * (com.sqx.modules.sys.controller.SysLoginController).*(..)) " +

View File

@ -22,7 +22,7 @@ spring:
# sharding-jdbc 配置
shardingsphere:
# 显示sharding-jdbc改写的sql语句
show-sql: true
show-sql: false
center-tables-data-node: duanju.%s
# 区域表的数据源节点

View File

@ -22,7 +22,7 @@ spring:
# sharding-jdbc 配置
shardingsphere:
# 显示sharding-jdbc改写的sql语句
show-sql: true
show-sql: false
center-tables-data-node: duanju.%s
# 区域表的数据源节点