- 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

@@ -39,6 +39,16 @@ const (
DeliveryStatusFinished = "40"
)
const (
PromotionTypeNormal = 1
PromotionTypeSeckill = 2
PromotionTypeDirectDown = 3
PromotionTypeLimitedTime = 4
PromotionTypeAddMoneyBuy = 1202
PromotionTypeOverflowGiveGift = 1203
PromotionTypeBuyGiveGift = 6
)
func (a API) OrderQuery(jdParams map[string]interface{}) (retVal []interface{}, err error) {
retVal, err = a.AccessAPIHavePage("order/es/query", jdParams, nil, nil, nil)
return