1
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user