fix:优化

This commit is contained in:
石崇礼 2025-03-19 12:49:35 +08:00
parent df17c286fe
commit 18f0a0bb66
1 changed files with 4 additions and 4 deletions

View File

@ -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();