This commit is contained in:
苏尹岚
2021-04-21 14:35:48 +08:00
parent be93f2d9c8
commit d23bba1392
4 changed files with 56 additions and 5 deletions

View File

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