|
@@ -89,10 +89,13 @@ public class YoumeiAccountServiceImpl extends ServiceImpl<YoumeiAccountMapper, Y
|
|
|
logger.error("error", e);
|
|
|
return false;
|
|
|
}
|
|
|
- logger.info("response",body.asString(StandardCharsets.UTF_8));
|
|
|
+ logger.info("response", body.asString(StandardCharsets.UTF_8));
|
|
|
|
|
|
CheckWordResponse checkWordDto = objectMapper.readValue(body.asString(StandardCharsets.UTF_8), CheckWordResponse.class);
|
|
|
CheckWordResponse.DataDTO data = checkWordDto.getData();
|
|
|
+ if (data == null) {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
|
|
|
for (CheckWordResponse.DataDTO.ChecklistDTO checklistDTO : data.getChecklist()) {
|
|
|
var belongId = checklistDTO.getType().getBelongId();
|