提交 29f760af authored 作者: gukai's avatar gukai

Merge branch 'master' of https://gitlab.jxhh.com/stbz/library

* 'master' of https://gitlab.jxhh.com/stbz/library:
  物流
  修改日志
......@@ -9,6 +9,7 @@ import (
"github.com/gogf/gf/encoding/gjson"
"github.com/gogf/gf/frame/g"
"github.com/gogf/gf/os/gtime"
"github.com/gogf/gf/text/gregex"
"github.com/gogf/gf/util/gconv"
"github.com/gogf/gf/util/grand"
"sort"
......@@ -63,7 +64,7 @@ func (c *Config) Post(ctx context.Context, api string, bodyMap g.Map) (result st
if nil != err {
return
}
result = response.ReadAllString()
result, _ = gregex.ReplaceString(`\s`, "", response.ReadAllString())
return
}
......
......@@ -114,14 +114,13 @@ type SyncOrderExpNoRes struct {
CommonRes
Result []struct {
UnionId string `json:"unionId"` //平台订单编号
ExpNo []string `json:"expNo"` //快递/物流单号
ExpNos []string `json:"expNos"` //快递/物流单号
} `json:"result"`
}
type QueryExpTrackReq struct {
UnionId string `json:"unionId"` //平台订单编号,用于后续操作平台订单
ExpNos string `json:"expNo"` //订单对应的快递单号数组
BusinessId string `json:"businessId"` //业务订单编号(平台中所查看到的订单编号)
UnionId string `json:"unionId"` //平台订单编号,用于后续操作平台订单
ExpNos string `json:"expNo"` //订单对应的快递单号数组
}
type QueryExpTrackRes struct {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论