Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hilo-group
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujiebin
hilo-group
Commits
7b5bbc73
Commit
7b5bbc73
authored
Jul 24, 2023
by
hujiebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update mic_change.go
parent
e0e6c8ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
mic_change.go
domain/service/event_s/mic_change.go
+6
-2
No files found.
domain/service/event_s/mic_change.go
View file @
7b5bbc73
...
@@ -44,9 +44,13 @@ func MicAllRPush(model *domain.Model, txGroupUid string, userId uint64, external
...
@@ -44,9 +44,13 @@ func MicAllRPush(model *domain.Model, txGroupUid string, userId uint64, external
if
err
!=
nil
{
if
err
!=
nil
{
continue
continue
}
}
tmpMicUser
:=
new
(
group_m
.
MicUserData
)
if
micContent
.
User
!=
nil
{
tmpMicUser
=
micContent
.
User
}
if
err
:=
rpc
.
SendSocketMicChange
(
userId
,
externalId
,
txGroupUid
,
uint32
(
micContent
.
I
),
micContent
.
Lock
,
micContent
.
Forbid
,
micContent
.
MicForbid
,
micContent
.
AgoraId
,
if
err
:=
rpc
.
SendSocketMicChange
(
userId
,
externalId
,
txGroupUid
,
uint32
(
micContent
.
I
),
micContent
.
Lock
,
micContent
.
Forbid
,
micContent
.
MicForbid
,
micContent
.
AgoraId
,
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
),
tmpMicUser
.
Id
,
tmpMicUser
.
ExternalId
,
tmpMicUser
.
Avatar
,
tmpMicUser
.
Nick
,
uint32
(
tmpMicUser
.
Sex
),
tmpMicUser
.
Code
,
tmpMicUser
.
IsVip
,
uint32
(
tmpMic
User
.
NobleLeave
),
micContent
.
User
.
HeadwearPicUrl
,
micContent
.
User
.
HeadwearEffectUrl
,
micContent
.
User
.
HeadwearReverseEffectUrl
,
uint32
(
micContent
.
User
.
SvipLevel
),
micContent
.
User
.
MicEffect
,
micContent
.
User
.
HeadwearIcon
);
err
!=
nil
{
tmpMicUser
.
HeadwearPicUrl
,
tmpMicUser
.
HeadwearEffectUrl
,
tmpMicUser
.
HeadwearReverseEffectUrl
,
uint32
(
tmpMicUser
.
SvipLevel
),
tmpMicUser
.
MicEffect
,
tmpMic
User
.
HeadwearIcon
);
err
!=
nil
{
model
.
Log
.
Errorf
(
"MicAllRPush err:%+v, groupUuid:%v, externalId:%v, micContent:%+v"
,
err
,
txGroupUid
,
externalId
,
string
(
micContentStr
))
model
.
Log
.
Errorf
(
"MicAllRPush err:%+v, groupUuid:%v, externalId:%v, micContent:%+v"
,
err
,
txGroupUid
,
externalId
,
string
(
micContentStr
))
}
else
{
}
else
{
model
.
Log
.
Infof
(
"MicChangeRPush MicAllRPush Marshal micContent, groupUuid:%v, externalId:%v, micContent:%+v"
,
txGroupUid
,
externalId
,
string
(
micContentStr
))
model
.
Log
.
Infof
(
"MicChangeRPush MicAllRPush Marshal micContent, groupUuid:%v, externalId:%v, micContent:%+v"
,
txGroupUid
,
externalId
,
string
(
micContentStr
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment