mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-05-02 20:02:37 +08:00
🎨 优化点代码
This commit is contained in:
parent
1b193e3070
commit
06aaacce65
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user