|
@@ -50,7 +50,13 @@ public class live extends Controller {
|
|
|
//当前在线观众人数
|
|
//当前在线观众人数
|
|
|
resultObject.put("fcustcount", liverows.isEmpty() ? 0 : liverows.sum("fcustcount"));
|
|
resultObject.put("fcustcount", liverows.isEmpty() ? 0 : liverows.sum("fcustcount"));
|
|
|
//直播列表
|
|
//直播列表
|
|
|
- resultObject.put("tlivelist", liverows);
|
|
|
|
|
|
|
+ int pageSize=content.getInteger("pageSize");
|
|
|
|
|
+ int pageNumber=content.getInteger("pageNumber");
|
|
|
|
|
+ if(pageSize==0||pageNumber==0){
|
|
|
|
|
+ resultObject.put("tlivelist", liverows);
|
|
|
|
|
+ }else{
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
//商户观众总数排行
|
|
//商户观众总数排行
|
|
|
resultObject.put("brandcustcount", brandcustcountrows);
|
|
resultObject.put("brandcustcount", brandcustcountrows);
|
|
|
return getSucReturnObject().setData(resultObject).toString();
|
|
return getSucReturnObject().setData(resultObject).toString();
|