|
@ -1144,9 +1144,9 @@ class Sessions extends RedisModel {
|
|
let participants = new Participants();
|
|
let participants = new Participants();
|
|
let offset = (page - 1 < 0 ? 0 : page - 1) * size;
|
|
let offset = (page - 1 < 0 ? 0 : page - 1) * size;
|
|
let count = size;
|
|
let count = size;
|
|
if (page > 1 || isoffset == 1) {
|
|
|
|
offset += 1; // 翻页由于闭区间,需跳过本身数据
|
|
|
|
}
|
|
|
|
|
|
// if (page > 1 || isoffset == 1) {
|
|
|
|
// offset += 1; // 翻页由于闭区间,需跳过本身数据
|
|
|
|
// }
|
|
|
|
|
|
participants.existsParticipant(sessionId, userId, function (err, res) {
|
|
participants.existsParticipant(sessionId, userId, function (err, res) {
|
|
log.info("1151-userId=" + userId);
|
|
log.info("1151-userId=" + userId);
|