mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-10-15 02:35:08 +08:00
使用lombok的@Data注解简化common模块的所有bean类
This commit is contained in:
@@ -24,9 +24,7 @@ public class WxCpBusyRetryTest {
|
||||
RequestExecutor<T, E> executor, String uri, E data)
|
||||
throws WxErrorException {
|
||||
this.log.info("Executed");
|
||||
WxError error = new WxError();
|
||||
error.setErrorCode(-1);
|
||||
throw new WxErrorException(error);
|
||||
throw new WxErrorException(WxError.builder().errorCode(-1).build());
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user