Commit 0faeb828 authored by chenweijian's avatar chenweijian

上麦

parent 85358f85
......@@ -194,7 +194,7 @@ func getGroupHost() string {
}
// 上麦
func MicIn(model *domain.Model, groupId, nonce, token string) error {
func MicIn(model *domain.Model, groupId, token string) error {
defer utils.CheckGoPanic()
type MicInResp struct {
Code int `json:"code"`
......@@ -204,7 +204,6 @@ func MicIn(model *domain.Model, groupId, nonce, token string) error {
}
_url := fmt.Sprintf("%v://%v/v1/imGroup/mic/in", defaultGroupServerScheme, getGroupHost())
header := map[string]string{
"nonce": nonce,
"token": token,
}
resp, err := HttpPostForm(model, _url, header, map[string]string{
......
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