mirror of https://github.com/jeecgboot/jeecg-boot
commit
fbc312c35d
|
@ -21,6 +21,7 @@ import org.jeecg.common.util.IpUtils;
|
||||||
import org.jeecg.common.util.SpringContextUtils;
|
import org.jeecg.common.util.SpringContextUtils;
|
||||||
import org.jeecg.common.util.oConvertUtils;
|
import org.jeecg.common.util.oConvertUtils;
|
||||||
import org.springframework.core.LocalVariableTableParameterNameDiscoverer;
|
import org.springframework.core.LocalVariableTableParameterNameDiscoverer;
|
||||||
|
import org.springframework.core.StandardReflectionParameterNameDiscoverer;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
import org.springframework.validation.BindingResult;
|
import org.springframework.validation.BindingResult;
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
|
@ -169,7 +170,7 @@ public class AutoLogAspect {
|
||||||
// 请求的方法参数值
|
// 请求的方法参数值
|
||||||
Object[] args = joinPoint.getArgs();
|
Object[] args = joinPoint.getArgs();
|
||||||
// 请求的方法参数名称
|
// 请求的方法参数名称
|
||||||
LocalVariableTableParameterNameDiscoverer u = new LocalVariableTableParameterNameDiscoverer();
|
StandardReflectionParameterNameDiscoverer u=new StandardReflectionParameterNameDiscoverer();
|
||||||
String[] paramNames = u.getParameterNames(method);
|
String[] paramNames = u.getParameterNames(method);
|
||||||
if (args != null && paramNames != null) {
|
if (args != null && paramNames != null) {
|
||||||
for (int i = 0; i < args.length; i++) {
|
for (int i = 0; i < args.length; i++) {
|
||||||
|
|
|
@ -22,7 +22,7 @@ management:
|
||||||
endpoints:
|
endpoints:
|
||||||
web:
|
web:
|
||||||
exposure:
|
exposure:
|
||||||
include: metrics,httptrace
|
include: metrics,httpexchanges
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
# flyway配置
|
# flyway配置
|
||||||
|
|
|
@ -22,7 +22,7 @@ management:
|
||||||
endpoints:
|
endpoints:
|
||||||
web:
|
web:
|
||||||
exposure:
|
exposure:
|
||||||
include: metrics,httptrace
|
include: metrics,httpexchanges
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
# flyway配置
|
# flyway配置
|
||||||
|
|
|
@ -22,7 +22,7 @@ management:
|
||||||
endpoints:
|
endpoints:
|
||||||
web:
|
web:
|
||||||
exposure:
|
exposure:
|
||||||
include: metrics,httptrace
|
include: metrics,httpexchanges
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
# flyway配置
|
# flyway配置
|
||||||
|
|
|
@ -20,13 +20,14 @@ spring:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
server-addr: @config.server-addr@
|
server-addr: @config.server-addr@
|
||||||
|
namespace: @config.namespace@
|
||||||
metadata:
|
metadata:
|
||||||
user.name: ${spring.security.user.name}
|
user.name: ${spring.security.user.name}
|
||||||
user.password: ${spring.security.user.password}
|
user.password: ${spring.security.user.password}
|
||||||
# 服务端点检查
|
# 服务端点检查
|
||||||
management:
|
management:
|
||||||
trace:
|
httpexchanges:
|
||||||
http:
|
recording:
|
||||||
enabled: true
|
enabled: true
|
||||||
endpoints:
|
endpoints:
|
||||||
web:
|
web:
|
||||||
|
|
Loading…
Reference in New Issue