Explorar el Código

🎨 优化点代码

dev1
Binary Wang hace 5 años
padre
commit
06aaacce65
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. +2
    -3
      weixin-java-common/src/main/java/me/chanjar/weixin/common/util/BeanUtils.java

+ 2
- 3
weixin-java-common/src/main/java/me/chanjar/weixin/common/util/BeanUtils.java Ver fichero

@@ -50,14 +50,13 @@ public class BeanUtils {
}
}
field.setAccessible(isAccessible);
} catch (SecurityException | IllegalArgumentException
| IllegalAccessException e) {
} catch (SecurityException | IllegalArgumentException | IllegalAccessException e) {
log.error(e.getMessage(), e);
}
}

if (!requiredFields.isEmpty()) {
String msg = "必填字段 " + requiredFields + " 必须提供值";
String msg = String.format("必填字段【%s】必须提供值!", requiredFields);
log.debug(msg);
throw new WxErrorException(WxError.builder().errorMsg(msg).build());
}


Cargando…
Cancelar
Guardar