|
|
@@ -25,7 +25,7 @@ public class WxHttp {
|
|
|
}
|
|
|
T wxRs = JSON.parseObject(rs, clazz);
|
|
|
if(!wxRs.isSuccess()) {
|
|
|
- throw new BusinessException(wxRs.getErrmsg());
|
|
|
+ throw new RuntimeException(wxRs.getErrmsg());
|
|
|
}
|
|
|
return wxRs;
|
|
|
}
|
|
|
@@ -43,7 +43,7 @@ public class WxHttp {
|
|
|
T wxRs = JSON.parseObject(rs, clazz);
|
|
|
if(!wxRs.isSuccess()) {
|
|
|
logger.error(rs);
|
|
|
- throw new BusinessException(wxRs.getErrmsg());
|
|
|
+ throw new RuntimeException(wxRs.getErrmsg());
|
|
|
}
|
|
|
return wxRs;
|
|
|
}
|