Commit e0e6c8ca authored by hujiebin's avatar hujiebin

fix

parent a824a8e4
......@@ -42,13 +42,14 @@ func MicAllRPush(model *domain.Model, txGroupUid string, userId uint64, external
}
micContentStr, err := json.Marshal(micContent)
if err != nil {
model.Log.Errorf("MicChangeRPush MicAllRPush Marshal micContent err:%+v, groupUuid:%v, externalId:%v, micContent:%+v", err, txGroupUid, externalId, string(micContentStr))
continue
}
if err := rpc.SendSocketMicChange(userId, externalId, txGroupUid, uint32(micContent.I), micContent.Lock, micContent.Forbid, micContent.MicForbid, micContent.AgoraId,
micContent.User.Avatar, micContent.User.Nick, uint32(micContent.User.Sex), micContent.User.Code, micContent.User.IsVip, uint32(micContent.User.NobleLeave),
micContent.User.Id, micContent.User.ExternalId, micContent.User.Avatar, micContent.User.Nick, uint32(micContent.User.Sex), micContent.User.Code, micContent.User.IsVip, uint32(micContent.User.NobleLeave),
micContent.User.HeadwearPicUrl, micContent.User.HeadwearEffectUrl, micContent.User.HeadwearReverseEffectUrl, uint32(micContent.User.SvipLevel), micContent.User.MicEffect, micContent.User.HeadwearIcon); err != nil {
model.Log.Errorf("MicAllRPush err:%+v, groupUuid:%v, externalId:%v, micContent:%+v", err, txGroupUid, externalId, string(micContentStr))
} else {
model.Log.Infof("MicChangeRPush MicAllRPush Marshal micContent, groupUuid:%v, externalId:%v, micContent:%+v", txGroupUid, externalId, string(micContentStr))
}
}
model.Log.Infof("MicAllRPush end groupUuid:%v, externalId:%v", txGroupUid, externalId)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment