This commit is contained in:
richboo111
2023-02-22 14:24:18 +08:00
parent fd36e2a6b3
commit ba4d653eab
3 changed files with 32 additions and 5 deletions

View File

@@ -51,8 +51,6 @@ func (a *API) GetOrderById(orderID int64, isStatus bool) (getOrderResult *GetEnO
}
result, err := a.AccessAPI("jingdong.pop.order.enGet", prodURL2, params)
globals.SugarLogger.Debugf("===result :%s", utils.Format4Output(result, false))
globals.SugarLogger.Debugf("===err :%v", err)
if err == nil {
utils.Map2StructByJson(result["jingdong_pop_order_enGet_responce"].(map[string]interface{})["orderDetailInfo"].(map[string]interface{})["orderInfo"], &getOrderResult, false)
}