提交 4cb2056f authored 作者: zhanglibo's avatar zhanglibo

京东订单详情

上级 9d39c927
...@@ -65,7 +65,7 @@ func (s *client) post(ctx context.Context, method string, params g.Map) (str str ...@@ -65,7 +65,7 @@ func (s *client) post(ctx context.Context, method string, params g.Map) (str str
if err != nil { if err != nil {
g.Log().Ctx(ctx).Cat(pkgName).Cat("error").Infof("参数【%v】错误【%v】响应时间【%v ms】", paramStr, err.Error(), gtime.TimestampMilli()-Start) g.Log().Ctx(ctx).Cat(pkgName).Cat("error").Infof("参数【%v】错误【%v】响应时间【%v ms】", paramStr, err.Error(), gtime.TimestampMilli()-Start)
} else { } else {
g.Log().Ctx(ctx).Cat(pkgName).Infof("参数【%v】响应【%v】响应时间【%v ms】", paramStr, str, gtime.TimestampMilli()-Start) g.Log().Ctx(ctx).Cat(pkgName).Infof("参数【%v】响应【%v】响应时间【%v ms】", paramStr, str, gtime.TimestampMilli()-Start)
} }
}() }()
if err != nil { if err != nil {
......
...@@ -212,6 +212,7 @@ func (*orderJD) Detail(ctx context.Context, OrderID string) (res *OrderDetailRes ...@@ -212,6 +212,7 @@ func (*orderJD) Detail(ctx context.Context, OrderID string) (res *OrderDetailRes
res.CommonRes = child.CommonRes res.CommonRes = child.CommonRes
res.Result.Type = child.Result.Type res.Result.Type = child.Result.Type
res.Result.SubmitState = child.Result.SubmitState res.Result.SubmitState = child.Result.SubmitState
res.Result.OrderState = child.Result.OrderState
res.Result.JdOrderState = child.Result.JdOrderState res.Result.JdOrderState = child.Result.JdOrderState
res.Result.POrder = OrderDetailPOrder{ res.Result.POrder = OrderDetailPOrder{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论