- autonavi api added.

- other refactor.
This commit is contained in:
gazebo
2018-07-14 13:13:58 +08:00
parent 1ec75cafd0
commit 90f21ffb8d
6 changed files with 267 additions and 42 deletions

View File

@@ -129,6 +129,16 @@ type CreateOrderByShopParam struct {
OrderType int `json:"order_type"`
}
type GoodsItem struct {
GoodCount int `json:"goodCount"`
GoodName string `json:"goodName"`
GoodPrice float64 `json:"goodPrice"`
GoodUnit string `json:"goodUnit"`
}
type GoodsDetail struct {
Goods []*GoodsItem `json:"goods"`
}
type API struct {
appKey string
secret string