aa
This commit is contained in:
@@ -362,6 +362,7 @@ func (p *PurchaseHandler) RefreshAllStoresID(ctx *jxcontext.Context, parentTask
|
||||
// todo 此函数只考虑了在饿了么侧开店的情况
|
||||
func EbaiDeliveryType2Jx(deliveryType string) int8 {
|
||||
spIndex := strings.Index(deliveryType, "|")
|
||||
if deliveryType != "" {
|
||||
elmDeliveryType := utils.Str2Int64(deliveryType[:spIndex])
|
||||
switch elmDeliveryType {
|
||||
case ebaiapi.DeliveryTypeElmFengNiaoZS,
|
||||
@@ -386,6 +387,8 @@ func EbaiDeliveryType2Jx(deliveryType string) int8 {
|
||||
return scheduler.StoreDeliveryTypeCrowdSourcing
|
||||
}
|
||||
}
|
||||
return scheduler.StoreDeliveryTypeCrowdSourcing
|
||||
}
|
||||
|
||||
func EbaiDeliveryRegion2Jx(deliveryRegion interface{}) string {
|
||||
realDeliveryRegion := deliveryRegion.([]interface{})
|
||||
|
||||
Reference in New Issue
Block a user