fix:优化
This commit is contained in:
parent
df17c286fe
commit
18f0a0bb66
|
@ -81,10 +81,10 @@ public class ThirdService {
|
||||||
|
|
||||||
// 将响应JSON字符串转换为LexMarkResultDTO对象
|
// 将响应JSON字符串转换为LexMarkResultDTO对象
|
||||||
LexMarkResultDTO<T> lexMarkResultDTO = JSON.parseObject(response.toString(), LexMarkResultDTO.class);
|
LexMarkResultDTO<T> lexMarkResultDTO = JSON.parseObject(response.toString(), LexMarkResultDTO.class);
|
||||||
if (lexMarkResultDTO.getResult() != 0) {
|
// if (lexMarkResultDTO.getResult() != 0) {
|
||||||
log.error("利盟服务请求出错:{}", lexMarkResultDTO);
|
// log.error("利盟服务请求出错:{}", lexMarkResultDTO);
|
||||||
throw new RRException(lexMarkResultDTO.toString());
|
// throw new RRException(lexMarkResultDTO.toString());
|
||||||
}
|
// }
|
||||||
|
|
||||||
// 实例化param位data
|
// 实例化param位data
|
||||||
String param = lexMarkResultDTO.getParam();
|
String param = lexMarkResultDTO.getParam();
|
||||||
|
|
Loading…
Reference in New Issue