|
|
|
@@ -536,7 +536,10 @@ public class WxUserStructureController extends BaseController { |
|
|
|
Collections.sort(senceStructureList, (s1,s2) -> ((int)(s2.getCount()-s1.getCount()))); |
|
|
|
|
|
|
|
result.put("channelList",channelStructureList); |
|
|
|
result.put("senceList",senceStructureList.subList(0,10)); |
|
|
|
int maxSize = senceStructureList.size(); |
|
|
|
if (maxSize > 10) |
|
|
|
maxSize = 10; |
|
|
|
result.put("senceList",senceStructureList.subList(0,maxSize)); |
|
|
|
return new ResultData(result); |
|
|
|
} |
|
|
|
|
|
|
|
|