From 8bbfc555255c4f425ed8e66940992e89b576af6c Mon Sep 17 00:00:00 2001 From: gazebo Date: Fri, 20 Sep 2019 11:22:15 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E9=A5=BF=E7=99=BEdeliveryParty=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E7=9A=84=E5=B8=B8=E9=87=8F=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformapi/ebaiapi/order.go | 2 -- platformapi/ebaiapi/shop.go | 12 ++++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/platformapi/ebaiapi/order.go b/platformapi/ebaiapi/order.go index d39c4a55..bfd410e6 100644 --- a/platformapi/ebaiapi/order.go +++ b/platformapi/ebaiapi/order.go @@ -67,8 +67,6 @@ const ( OrderUserCancelTypeBeforeSale = 1 // 表示订单完成前用户全单取消申请流程 OrderUserCancelTypeAfterSale = 2 // 表示订单完成后用户全单退款申请流程 - - SendImmediatelySelf = 6 // 饿百商家自送的配送状态 ) const ( diff --git a/platformapi/ebaiapi/shop.go b/platformapi/ebaiapi/shop.go index d4a8e4e6..7f2249d2 100644 --- a/platformapi/ebaiapi/shop.go +++ b/platformapi/ebaiapi/shop.go @@ -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"`