Explorar el Código

获取当前直播商户数接口调整错误修复

沈静伟 hace 4 años
padre
commit
8bc0c92959
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. 2 3
      src/dsb/com/cnd3b/restcontroller/publicmethod/live/live.java

+ 2 - 3
src/dsb/com/cnd3b/restcontroller/publicmethod/live/live.java

@@ -44,15 +44,14 @@ public class live extends Controller {
         brandcustcount.addParameter("tactivityid", tactivityid);
         brandcustcount.addParameter("siteid", siteid);
         Rows brandcustcountrows = dbConnect.runSqlQuery(brandcustcount.getSQL());
-
         int flivecount= liverows.size();
         //正在直播数
         resultObject.put("flivecount", flivecount);
         //当前在线观众人数
         resultObject.put("fcustcount", liverows.isEmpty() ? 0 : liverows.sum("fcustcount"));
         //直播列表
-        int pageSize=content.getInteger("pageSize");
-        int pageNumber=content.getInteger("pageNumber");
+        int pageSize=content.getIntValue("pageSize");
+        int pageNumber=content.getIntValue("pageNumber");
         if(pageSize==0||pageNumber==0){
             resultObject.put("tlivelist", liverows);
         }else{