conversation update

pull/455/head
Gordon 2 years ago committed by Xinwei Xiong(cubxxw-openim)
parent 9359399d07
commit ee88c586cc

@ -140,6 +140,6 @@ func UpdateColumnsConversations(ownerUserIDList []string, conversationID string,
return err
}
dbConn.LogMode(false)
return dbConn.Model(&db.Conversation{}).Where("owner_user_id IN ? and conversation_id=?", ownerUserIDList, conversationID).Updates(args).Error
return dbConn.Debug().Model(&db.Conversation{}).Where("owner_user_id IN ? and conversation_id=?", ownerUserIDList, conversationID).Updates(args).Error
}

Loading…
Cancel
Save