|
|
|
@ -2,7 +2,6 @@ package logic
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"Open_IM/pkg/common/db"
|
|
|
|
|
"Open_IM/pkg/common/db/mysql_model/im_mysql_model"
|
|
|
|
|
"Open_IM/pkg/common/log"
|
|
|
|
|
pbMsg "Open_IM/pkg/proto/chat"
|
|
|
|
|
"Open_IM/pkg/utils"
|
|
|
|
@ -21,7 +20,3 @@ func saveUserChat(uid string, msg *pbMsg.MsgDataToMQ) error {
|
|
|
|
|
log.NewInfo(msg.OperationID, "IncrUserSeq cost time", utils.GetCurrentTimestampByMill()-time)
|
|
|
|
|
return db.DB.SaveUserChat(uid, pbSaveData.MsgData.SendTime, &pbSaveData)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func getGroupList(groupID string) ([]string, error) {
|
|
|
|
|
return im_mysql_model.SelectGroupList(groupID)
|
|
|
|
|
}
|
|
|
|
|