This commit is contained in:
邹宗楠
2023-10-25 10:26:19 +08:00
parent 9b9473f252
commit 40e8b5d533

View File

@@ -327,9 +327,9 @@ func (a *API) OrderDelivering(param *order_logisticsAdd_request.OrderLogisticsAd
func (a *API) CreateOrderCallback(orderStatus []byte) (map[string][]interface{}, *CallbackResponse) {
var resp []*OrderCallback
if err := json.Unmarshal(orderStatus, &resp); err != nil {
fmt.Println(err)
return nil, &CallbackResponse{Code: CallbackFailCode, Msg: CallbackFail}
}
globals.SugarLogger.Debugf("============================resp:= %s", utils.Format4Output(resp, false))
callbackResult := make(map[string][]interface{}, 0)
for _, data := range resp {