From df03f21b401c130e6dbbea95ea218ba76866013d Mon Sep 17 00:00:00 2001 From: richboo111 Date: Fri, 8 Sep 2023 18:30:22 +0800 Subject: [PATCH] 1 --- business/partner/delivery/sfps/waybill.go | 1 - controllers/sfps_callback.go | 1 - 2 files changed, 2 deletions(-) diff --git a/business/partner/delivery/sfps/waybill.go b/business/partner/delivery/sfps/waybill.go index 02ed37129..6e864c649 100644 --- a/business/partner/delivery/sfps/waybill.go +++ b/business/partner/delivery/sfps/waybill.go @@ -369,7 +369,6 @@ func (c *DeliveryHandler) UpdateWaybillTip(ctx *jxcontext.Context, vendorOrgCode // OnWaybillMsg 配送状态更改回调 func OnWaybillMsg(urlIndex string, msg interface{}) (resp *sfps2.CallbackResponse) { - globals.SugarLogger.Debugf("fdkasifq msg=%s", utils.Format4Output(msg, false)) order := GetWaybillByStatus(urlIndex, msg) //多次取消回调只取第一次 tempStatus := utils.Str2Int(order.VendorStatus) diff --git a/controllers/sfps_callback.go b/controllers/sfps_callback.go index 6e43771bb..209ffb2e1 100644 --- a/controllers/sfps_callback.go +++ b/controllers/sfps_callback.go @@ -19,7 +19,6 @@ type SFPSController struct { func (c *SFPSController) SfOrder() { if c.Ctx.Input.Method() == http.MethodPost { msg, callbackResponse := api.SfPsAPI.GetCallbackUrlIndex(c.Ctx.Request) - fmt.Printf("SfOrder msg=%s", utils.Format4Output(msg, false)) if callbackResponse.ErrorCode == -1 { c.Data["data"] = -1 c.ServeJSON()