We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5fa1b49 + d5b9a58 commit aa28354Copy full SHA for aa28354
api-wrap-boot/src/main/java/com/seelyn/apiwrap/ApiWrapAspect.java
@@ -50,6 +50,9 @@ public void before(JoinPoint joinPoint) {
50
WrapHandler wrapHandler = (WrapHandler) WrapBeanFactoryUtils.getBean(clazz);
51
52
Object[] args = joinPoint.getArgs();
53
+ if (args == null || args.length == 0) {
54
+ throw new InvalidWrapSignatureException("签名有误");
55
+ }
56
for (Object obj : args) {
57
if (obj instanceof WrapRequest) {
58
//noinspection unchecked
0 commit comments