- 饿百deliveryParty相关的常量添加

This commit is contained in:
gazebo
2019-09-20 11:22:15 +08:00
parent 926a9533b2
commit 8bbfc55525
2 changed files with 12 additions and 2 deletions

View File

@@ -67,8 +67,6 @@ const (
OrderUserCancelTypeBeforeSale = 1 // 表示订单完成前用户全单取消申请流程
OrderUserCancelTypeAfterSale = 2 // 表示订单完成后用户全单退款申请流程
SendImmediatelySelf = 6 // 饿百商家自送的配送状态
)
const (

View File

@@ -68,6 +68,18 @@ const (
DeliveryTypeElmXingHuoZBKA = 18 // 星火众包KA
)
// https://open-be.ele.me/dev/api/doc/v3/#api-Order_Up-order_get
const (
DeliveryPartyFengNiao = 1 // 蜂鸟
DeliveryPartyFengNiaoSelf = 2 // 蜂鸟自配送
DeliveryPartyFengNiaoZB = 3 // 蜂鸟众包
DeliveryPartyFengElmZB = 4 // 饿了么众包
DeliveryPartyFengNiaoPS = 5 // 蜂鸟配送
DeliveryPartyFengElmSelf = 6 // 饿了么自配送,商家自送?
DeliveryPartyFullCity = 7 // 全城送
DeliveryPartyKuaiDiPS = 8 // 快递配送
)
type ShopInfo struct {
ShopID string `json:"shop_id"`
BaiduShopID int64 `json:"baidu_shop_id"`