|
@@ -58,13 +58,13 @@ public class live extends Controller {
|
|
|
resultObject.put("flivecount", flivecount);
|
|
|
//当前在线观众人数
|
|
|
resultObject.put("fcustcount", liverows.isEmpty() ? 0 : liverows.sum("fcustcount"));
|
|
|
- for (Row row : liverows) {
|
|
|
- //观看次数(次)
|
|
|
- String channelid = row.getString("channelid");
|
|
|
- //观看人数(人)
|
|
|
- long viewers = getCount("直播观看人数", "num", channelid);
|
|
|
- row.put("viewers", viewers);
|
|
|
- }
|
|
|
+// for (Row row : liverows) {
|
|
|
+// //观看次数(次)
|
|
|
+// String channelid = row.getString("channelid");
|
|
|
+// //观看人数(人)
|
|
|
+// long viewers = getCount("直播观看人数", "num", channelid);
|
|
|
+// row.put("viewers", viewers);
|
|
|
+// }
|
|
|
//直播列表
|
|
|
int pageSize = content.getIntValue("pageSize");
|
|
|
int pageNumber = content.getIntValue("pageNumber");
|