From f74b3440772cac571f9280aedb57c6406ae2cadb Mon Sep 17 00:00:00 2001 From: hujiebin Date: Mon, 24 Jul 2023 16:58:42 +0800 Subject: [PATCH] Update user_center_func.go --- rpc/user_center_func.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpc/user_center_func.go b/rpc/user_center_func.go index 8468234..a82efea 100644 --- a/rpc/user_center_func.go +++ b/rpc/user_center_func.go @@ -400,11 +400,11 @@ func SendSvipUpgrade(nick, avatar string, svipLevel uint32, txGroupId string) er } // 发送socket的麦位变化 -func SendSocketMicChange(userId uint64, externalId, txGroupId string, i uint32, lock, forbid, micForbid bool, agoraId uint32, +func SendSocketMicChange(seqId string, userId uint64, externalId, txGroupId string, i uint32, lock, forbid, micForbid bool, agoraId uint32, micUserId uint64, micUserExternalId string, avatar, nick string, sex uint32, code string, isVip bool, noble uint32, headwearPicUrl, headwearEffectUrl, headwearReverseEffectUrl string, svipLevel uint32, micEffect, headwearIcon string) error { var msg = &userProxy.GroupMicChange{ - SeqId: "todo", // todo todo + SeqId: seqId, GroupId: txGroupId, I: i, Lock: lock, @@ -412,7 +412,7 @@ func SendSocketMicChange(userId uint64, externalId, txGroupId string, i uint32, MicForbid: micForbid, ExternalId: externalId, AgoraId: agoraId, - Timestamp: time.Now().Unix(), + Timestamp: time.Now().UnixNano() / 1e6, User: &userProxy.MicUserData{ Id: micUserId, ExternalId: micUserExternalId, -- 2.22.0