Commit ad450920 authored by hujiebin's avatar hujiebin

下麦前做

parent 2675111c
...@@ -701,12 +701,12 @@ func GroupMicLeave(c *gin.Context) (*mycontext.MyContext, error) { ...@@ -701,12 +701,12 @@ func GroupMicLeave(c *gin.Context) (*mycontext.MyContext, error) {
return myContext, err return myContext, err
} }
} }
// check cp麦位置
group_mic_s.NewGroupPowerService(myContext).CheckCpLeaveMic(groupId, userId)
if err := group_mic_s.NewGroupPowerService(myContext).GroupMicLeave(groupId, i, userId, externalId); err != nil { if err := group_mic_s.NewGroupPowerService(myContext).GroupMicLeave(groupId, i, userId, externalId); err != nil {
return myContext, err return myContext, err
} }
// check cp麦位置
go group_mic_s.NewGroupPowerService(myContext).CheckCpLeaveMic(groupId, userId)
resp.ResponseOk(c, nil) resp.ResponseOk(c, nil)
return myContext, nil return myContext, nil
} }
......
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