feat:There is no way the

This commit is contained in:
super_liu
2021-08-10 16:29:42 +08:00
parent 7af19a8dca
commit 6c351c1d33
@@ -288,7 +288,9 @@ public class SearchCenterServiceImpl implements SearchCenterService {
if(json instanceof org.json.JSONArray){
fields = JSONObject.parseArray(collectAttrMap.get(field).toString(),String.class);
}else {
fields.add(collectAttrMap.get(field).toString());
if(!json.equals("null")){
fields.add(collectAttrMap.get(field).toString());
}
}
if(!fields.isEmpty()){
for (String str : fields) {