Compare commits

..

2 Commits

View File

@ -101,7 +101,7 @@ func (chatDao) GetChatRecordById(id int) (res model.ChatRecord, err error) {
// 批量查询ChatRecord
func (chatDao) GetChatRecordList(info *accountFiee.GetChatRecordListRequest) (resp []model.ChatRecord, total int64, err error) {
var dbQuery = model.DB.Model(&model.ChatRecord{}).Preload("Medias")
var dbQuery = model.DB.Model(&model.ChatRecord{}).Preload("Medias").Debug()
if info.Query != nil {
if info.Query.SessionId != "" {