From b54ef05d4f3a7880f54c1aff90b70604c7bb24f9 Mon Sep 17 00:00:00 2001 From: gazebo Date: Sun, 5 May 2019 11:12:12 +0800 Subject: [PATCH] - DeliveryTypeElm comment --- platformapi/ebaiapi/shop.go | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/platformapi/ebaiapi/shop.go b/platformapi/ebaiapi/shop.go index b88223f2..544d7da2 100644 --- a/platformapi/ebaiapi/shop.go +++ b/platformapi/ebaiapi/shop.go @@ -47,22 +47,23 @@ const ( CoordTypeAutonavi = "amap" ) +// https://open-be.ele.me/dev/api/doc/v3/#api-Shop-shop_get const ( - DeliveryTypeElmNone = 0 - DeliveryTypeElmXingHuoTrial = 1 - DeliveryTypeElmXingHuo = 4 - DeliveryTypeElmFengNiaoZS = 5 - DeliveryTypeElmFengNiaoZSKA = 6 - DeliveryTypeElmFengNiaoKS = 9 - DeliveryTypeElmXingHuoZBTrial = 10 - DeliveryTypeElmXingHuoZB = 11 - DeliveryTypeElmNewRetail = 12 - DeliveryTypeElmEBase = 13 - DeliveryTypeElmEPeiSong = 14 - DeliveryTypeElmFengNiaoHybrid = 15 - DeliveryTypeElmFengNiaoNiubee = 16 - DeliveryTypeElmXingHuoKA = 17 - DeliveryTypeElmXingHuoZBKA = 18 + DeliveryTypeElmNone = 0 // 暂无 + DeliveryTypeElmXingHuoTrial = 1 // 星火计划(试用) + DeliveryTypeElmXingHuo = 4 // 星火计划 + DeliveryTypeElmFengNiaoZS = 5 // 蜂鸟专送 + DeliveryTypeElmFengNiaoZSKA = 6 // 蜂鸟专送,KA + DeliveryTypeElmFengNiaoKS = 9 // 蜂鸟快送 + DeliveryTypeElmXingHuoZBTrial = 10 // 星火众包(试用) + DeliveryTypeElmXingHuoZB = 11 // 星火众包 + DeliveryTypeElmNewRetail = 12 // 新零售 + DeliveryTypeElmEBase = 13 // e基础 + DeliveryTypeElmEPeiSong = 14 // e配送 + DeliveryTypeElmFengNiaoHybrid = 15 // 蜂鸟混合送 + DeliveryTypeElmFengNiaoNiubee = 16 // 蜂鸟质选 + DeliveryTypeElmXingHuoKA = 17 // 星火计划KA + DeliveryTypeElmXingHuoZBKA = 18 // 星火众包KA ) type ShopInfo struct {