1
This commit is contained in:
@@ -64,21 +64,6 @@ const (
|
||||
VendorIDShowAPI = 325 // 万维易源
|
||||
WayBillDeliveryMarkUp = 20 // 运单加价两毛钱
|
||||
|
||||
// 美团配送门店配送方式
|
||||
MTWMStorePSWay1 = "1003" //美团跑腿(众包)
|
||||
MTWMStorePSWay2 = "1001" //专送(加盟)
|
||||
MTWMStorePSWay3 = "1002" //专送(自建)
|
||||
MTWMStorePSWay4 = "1004" //城市代理
|
||||
MTWMStorePSWay5 = "2002" //快送
|
||||
MTWMStorePSWay6 = "2010" //全城送
|
||||
MTWMStorePSWay7 = "0000" //商家自配
|
||||
MTWMStorePSWay8 = "3001" //混合送(专送+快送)
|
||||
MTWMStorePSWay9 = "30011002" //混合自建
|
||||
MTWMStorePSWay10 = "30011001" //混合加盟
|
||||
MTWMStorePSWay11 = "30012002" //混合快送
|
||||
MTWMStorePSWay12 = "0002" //趣生活美食配送
|
||||
MTWMStorePSWay13 = "0016" //达达快递
|
||||
MTWMStorePSWay14 = "0033" //E_代送
|
||||
)
|
||||
const BrandIdChengShan = 142 // 成山农场品牌id
|
||||
|
||||
|
||||
@@ -587,6 +587,7 @@ func (c *PurchaseHandler) AcceptOrRefuseOrder(order *model.GoodsOrder, isAcceptI
|
||||
return err
|
||||
}
|
||||
|
||||
// 美团配送门店配送方式
|
||||
func (c *PurchaseHandler) PickupGoods(order *model.GoodsOrder, isSelfDelivery bool, userName string) (err error) {
|
||||
orderDetail, err := getAPI(order.VendorOrgCode, jxutils.GetSaleStoreIDFromOrder(order), "").OrderGetOrderDetail(utils.Str2Int64(order.VendorOrderID), false)
|
||||
if err != nil {
|
||||
@@ -595,7 +596,7 @@ func (c *PurchaseHandler) PickupGoods(order *model.GoodsOrder, isSelfDelivery bo
|
||||
|
||||
// 美团专送、快送、混合送、美团企客
|
||||
logisticsCode := utils.Interface2String(orderDetail["logistics_code"])
|
||||
isSelfDelivery = logisticsCode == mtwmapi.PeiSongTypeMTZSJM || logisticsCode == mtwmapi.PeiSongTypeMTZSZJ || logisticsCode == mtwmapi.PeiSongTypeKuaiDi || logisticsCode == mtwmapi.PeiSongTypeMixed || logisticsCode == mtwmapi.PeiSongTypeQiKe || logisticsCode == mtwmapi.PeiSongTypeMixedExpressQiKe
|
||||
isSelfDelivery = logisticsCode == mtwmapi.PeiSongTypeMTZSJM || logisticsCode == mtwmapi.PeiSongTypeMTZSPT || logisticsCode == mtwmapi.PeiSongTypeMTZSZJ || logisticsCode == mtwmapi.PeiSongTypeKuaiDi || logisticsCode == mtwmapi.PeiSongTypeMixed || logisticsCode == mtwmapi.PeiSongTypeQiKe || logisticsCode == mtwmapi.PeiSongTypeMixedExpressQiKe
|
||||
//1001-专送(加盟);1002-专送(自建)
|
||||
//2002-快送;3001-混合送(专送+快送)
|
||||
//4015-企客远距离配送
|
||||
|
||||
Reference in New Issue
Block a user