Skip to content

Commit

Permalink
Merge pull request #6173 from EightMonth/springboot3
Browse files Browse the repository at this point in the history
修复#6127 #6130
  • Loading branch information
zhangdaiscott committed Apr 25, 2024
2 parents 28404d2 + b8162a4 commit fbc312c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.jeecg.common.util.SpringContextUtils;
import org.jeecg.common.util.oConvertUtils;
import org.springframework.core.LocalVariableTableParameterNameDiscoverer;
import org.springframework.core.StandardReflectionParameterNameDiscoverer;
import org.springframework.stereotype.Component;
import org.springframework.validation.BindingResult;
import org.springframework.web.multipart.MultipartFile;
Expand Down Expand Up @@ -169,7 +170,7 @@ public boolean apply(Object o, String name, Object value) {
// 请求的方法参数值
Object[] args = joinPoint.getArgs();
// 请求的方法参数名称
LocalVariableTableParameterNameDiscoverer u = new LocalVariableTableParameterNameDiscoverer();
StandardReflectionParameterNameDiscoverer u=new StandardReflectionParameterNameDiscoverer();
String[] paramNames = u.getParameterNames(method);
if (args != null && paramNames != null) {
for (int i = 0; i < args.length; i++) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ management:
endpoints:
web:
exposure:
include: metrics,httptrace
include: metrics,httpexchanges

spring:
# flyway配置
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ management:
endpoints:
web:
exposure:
include: metrics,httptrace
include: metrics,httpexchanges

spring:
# flyway配置
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ management:
endpoints:
web:
exposure:
include: metrics,httptrace
include: metrics,httpexchanges

spring:
# flyway配置
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ spring:
nacos:
discovery:
server-addr: @config.server-addr@
namespace: @config.namespace@
metadata:
user.name: ${spring.security.user.name}
user.password: ${spring.security.user.password}
# 服务端点检查
management:
trace:
http:
httpexchanges:
recording:
enabled: true
endpoints:
web:
Expand Down

0 comments on commit fbc312c

Please sign in to comment.