饿百菜市门店名从京西菜市改为饿鲜达
This commit is contained in:
@@ -99,10 +99,14 @@ func SplitStoreName(fullName, separator, defaultPrefix string) (prefix, bareName
|
||||
|
||||
func ComposeStoreName(bareName string, vendorID int) (fullName string) {
|
||||
bareName = TrimDecorationChar(strings.Trim(bareName, "-"))
|
||||
storeName := globals.StoreName
|
||||
if vendorID == model.VendorIDJD {
|
||||
fullName = globals.StoreName + "-" + bareName
|
||||
fullName = storeName + "-" + bareName
|
||||
} else {
|
||||
fullName = globals.StoreName + "(" + bareName + ")"
|
||||
if globals.IsMainProductEnv() && model.ShopChineseNames[vendorID] != "" {
|
||||
storeName = model.ShopChineseNames[vendorID]
|
||||
}
|
||||
fullName = storeName + "(" + bareName + ")"
|
||||
}
|
||||
return fullName
|
||||
}
|
||||
|
||||
@@ -24,9 +24,9 @@ var (
|
||||
|
||||
ShopChineseNames = map[int]string{
|
||||
VendorIDJD: "京西菜市",
|
||||
VendorIDMTWM: "美好菜市",
|
||||
VendorIDELM: "好菜鲜生",
|
||||
VendorIDEBAI: "好菜鲜生",
|
||||
VendorIDMTWM: "京西菜市",
|
||||
VendorIDELM: "饿鲜达", //"好菜鲜生",
|
||||
VendorIDEBAI: "饿鲜达", //"好菜鲜生",
|
||||
VendorIDJX: "京西商城",
|
||||
VendorIDWSC: "微盟微商城",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user