This commit is contained in:
邹宗楠
2022-03-31 17:33:44 +08:00
parent e001529572
commit 059297840f

View File

@@ -151,8 +151,7 @@ func (a *API) GetChainOrderStatusNotify(request *http.Request) (shopStatusMsg *O
fmt.Println("string==================", string(data))
storeNotify := make(map[string]interface{}, 4)
err = utils.Map2StructByJson(data, storeNotify, true)
if err != nil {
if err = json.Unmarshal(data, storeNotify); err != nil {
baseapi.SugarLogger.Debugf("FN GetShopStatusCallbackMsg failed with err:%v", err)
callbackResponse = &CallbackResponse{Code: -1}
return nil, callbackResponse