This commit is contained in:
suyl
2021-05-07 14:05:37 +08:00
parent e3741ad0a4
commit d5fbf9da7a

View File

@@ -2,6 +2,7 @@ package mtunionapi
import (
"encoding/json"
"fmt"
"git.rosy.net.cn/baseapi/utils"
"io/ioutil"
"net/http"
@@ -39,6 +40,7 @@ func (a *API) GetCallbackMsg(request *http.Request) (call *CallBackResult, err e
return nil, err
}
mapData := utils.URLValues2Map(values)
fmt.Println("mapData", mapData)
for k, _ := range mapData {
json.Unmarshal([]byte(k), &call)
}