|
@ -201,10 +201,8 @@ class Sessions extends RedisModel {
|
|
|
if (res.length > 0) {//已经存在
|
|
|
for (let i in participantArray) {
|
|
|
//更新成员
|
|
|
Participants.deleteAllUser(sessionId,function(err,res){
|
|
|
Participants.saveParticipantsToMysql(sessionId, participantArray, function (err, update) {
|
|
|
handler(null, res[0]);
|
|
|
})
|
|
|
Participants.saveParticipantsToMysql(sessionId, participantArray, function (err, update) {
|
|
|
handler(null, res[0]);
|
|
|
})
|
|
|
}
|
|
|
} else {
|