通联收银宝退款接口修改

This commit is contained in:
苏尹岚
2020-03-02 09:24:51 +08:00
parent 0f7b5ead1a
commit 1b50d66657
2 changed files with 8 additions and 10 deletions

View File

@@ -43,7 +43,6 @@ type CallBackResult struct {
func (a *API) GetCallbackMsg(request *http.Request) (call *CallBackResult, err error) {
data, err := ioutil.ReadAll(request.Body)
call = &CallBackResult{}
json.Unmarshal(data, &call)
if err != nil {
return nil, err