Prechádzať zdrojové kódy

合作商户直播列表返回观看人数

吴志根 3 rokov pred
rodič
commit
d8f7ee7222

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

@@ -420,8 +420,9 @@ public class live extends Controller {
         for(Row row:agentRows){
             //观看次数(次)
             String channelid = row.getString("channelid");
-            long viewCounts = getCount("观看次数", "num", channelid);
-            row.put("viewCounts", viewCounts);
+            //观看人数(人)
+            long viewers = getCount("观看人数", "num", channelid);
+            row.put("viewers", viewers);
         }