This commit is contained in:
苏尹岚
2020-11-30 18:26:15 +08:00
parent afeb65d616
commit e247aa69ba
5 changed files with 62 additions and 0 deletions

View File

@@ -245,3 +245,7 @@ func UpdateConfig(ctx *jxcontext.Context, key, configType, value string) (hint s
func QueryConfigs(key, configType, keyword string) (configList []*model.NewConfig, err error) {
return dao.QueryConfigs(dao.GetDB(), key, configType, keyword)
}
func InitStation(ctx *jxcontext.Context) (err error) {
return err
}

View File

@@ -278,6 +278,8 @@ func GetMessageGroupByUser(ctx *jxcontext.Context, userID string) (messageGroupR
if user3, err := dao.GetUserByID(db, "user_id", imMessageRecord.UserID); err == nil {
v.LastUserName = user3.Name
}
} else {
err = nil
}
//该用户各组的未读消息数
var unReadCount int