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