diff --git a/business/partner/delivery/sfps/waybill.go b/business/partner/delivery/sfps/waybill.go index 2d62ca6cc..e2a27c325 100644 --- a/business/partner/delivery/sfps/waybill.go +++ b/business/partner/delivery/sfps/waybill.go @@ -471,10 +471,10 @@ func pushCallbackToGy(urlIndex string, msg interface{}) { request *http.Request param = make(map[string]interface{}) ) - param = changeToRaw(urlIndex, msg) - globals.SugarLogger.Debugf("sfsfsf pushCallbackToGy param=%s", utils.Format4Output(param, false)) + //param = changeToRaw(urlIndex, msg) + //globals.SugarLogger.Debugf("sfsfsf pushCallbackToGy param=%s", utils.Format4Output(param, false)) - b, _ := json.Marshal(param) + b, _ := json.Marshal(msg) //sign := api.SfPsAPI.SignParam(b) switch urlIndex { @@ -650,7 +650,7 @@ func getWaybillByStatus(urlIndex string, msg interface{}) (waybill *model.Waybil //转换原始数据 转发果园 func changeToRaw(urlIndex string, msg interface{}) (retVal map[string]interface{}) { retVal = make(map[string]interface{}) - globals.SugarLogger.Debugf("changeToRaw urlIndex=%s, msg=%s", urlIndex, utils.Format4Output(msg, false)) + globals.SugarLogger.Debugf("%s, msg=%s", urlIndex, utils.Format4Output(msg, false)) switch urlIndex { case sfps2.UrlIndexRiderStatus: temp := msg.(sfps2.RiderStatus)