提交 7b94255e authored 作者: zhanglibo's avatar zhanglibo

天猫sdk

上级 4c6372b0
...@@ -121,7 +121,7 @@ func post(ctx context.Context, method string, params map[string]string) (str str ...@@ -121,7 +121,7 @@ func post(ctx context.Context, method string, params map[string]string) (str str
} }
func convert(pre string, req []g.Map) (res map[string]string) { func convert(pre string, req []map[string]interface{}) (res map[string]string) {
res = make(map[string]string) res = make(map[string]string)
for k, v := range req { for k, v := range req {
for key, val := range v { for key, val := range v {
......
...@@ -75,7 +75,7 @@ func (s *orderTm) Before(ctx context.Context, addr OrderAddress, itemLists []Ord ...@@ -75,7 +75,7 @@ func (s *orderTm) Before(ctx context.Context, addr OrderAddress, itemLists []Ord
type OrderCreateReq struct { type OrderCreateReq struct {
AppID interface{} AppID interface{}
ChannelOrder string ChannelOrder string
Address *OrderAddress Address OrderAddress
ItemLists []OrderGoodsItem ItemLists []OrderGoodsItem
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论