用户接口name又改成realName了,

This commit is contained in:
daihh
2023-02-21 15:12:15 +08:00
parent 18c19e5a1c
commit 070964d87c

View File

@@ -61,7 +61,11 @@ public class OutSideDataServiceImpl implements IOutSideDataService {
for(JsonNode node :result) {
AudienceUser au=new AudienceUser();
au.setId(node.get("userId").asText());
au.setName(getNodeText(node.get("name")));
if(node.get("realName")!=null) {
au.setName(getNodeText(node.get("realName")));
}else if(node.get("name")!=null){
au.setName(getNodeText(node.get("name")));
}
au.setCode(getNodeText(node.get("userNo")));
list.add(au);
}