|
|
@@ -375,10 +375,11 @@ public class live extends Controller {
|
|
|
*/
|
|
|
public String getRealTimeViewerList() {
|
|
|
String channelid = content.getString("channelid");
|
|
|
- Long createdtime = getDateTime().getTime() / 1000;
|
|
|
+ Long lastmodified = getDateTime().getTime() / 1000- 5* 60;
|
|
|
+ System.err.println(lastmodified);
|
|
|
SQLFactory sqlFactory = new SQLFactory(this, "ʵʱ¹ÛÖÚÁбí", pageSize, pageNumber, "t1.tlive_viewlogid DESC");
|
|
|
sqlFactory.addParameter("channelid", channelid);
|
|
|
- sqlFactory.addParameter("createdtime", createdtime * 1000);
|
|
|
+ sqlFactory.addParameter("lastmodified", lastmodified * 1000);
|
|
|
Rows rows = dbConnect.runSqlQuery(sqlFactory.getSQL());
|
|
|
return getSucReturnObject().setDataByPaging(rows).preloading(1).toString();
|
|
|
}
|