feat:There is no way the
This commit is contained in:
+3
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user