This commit is contained in:
richboo111
2023-09-08 18:30:22 +08:00
parent a8cd156a33
commit df03f21b40
2 changed files with 0 additions and 2 deletions

View File

@@ -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)

View File

@@ -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()