|
|
|
@ -498,7 +498,8 @@ public class HomePageServiceImpl implements IHomePageService { |
|
|
|
while(iterator.hasNext()){ |
|
|
|
while(iterator.hasNext()){ |
|
|
|
Map.Entry<String, Integer> next = iterator.next(); |
|
|
|
Map.Entry<String, Integer> next = iterator.next(); |
|
|
|
JSONObject jsonObject = new JSONObject(); |
|
|
|
JSONObject jsonObject = new JSONObject(); |
|
|
|
jsonObject.put(next.getKey(),next.getValue()); |
|
|
|
jsonObject.put("name",next.getKey()); |
|
|
|
|
|
|
|
jsonObject.put("value",next.getValue()); |
|
|
|
result.add(jsonObject); |
|
|
|
result.add(jsonObject); |
|
|
|
} |
|
|
|
} |
|
|
|
return R.data(result); |
|
|
|
return R.data(result); |
|
|
|
|