- add cms.constant shopChineseNames

This commit is contained in:
gazebo
2019-01-28 16:23:15 +08:00
parent a2fe9d8519
commit 2f43aec72f
2 changed files with 9 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ func InitServiceInfo(version, buildDate, gitCommit string) {
"opRequestTypeName": model.RequestTypeName,
"opRequestStatusName": model.RequestStatusName,
"storeMsgSendStatusName": model.StoreMsgSendStatusName,
"shopChineseNames": model.ShopChineseNames,
},
}
Init()

View File

@@ -40,6 +40,14 @@ var (
VendorIDMTPS: "美团配送",
}
ShopChineseNames = map[int]string{
VendorIDJD: "京西菜市",
VendorIDMTWM: "美好菜市",
VendorIDELM: "好菜鲜生",
VendorIDEBAI: "好菜鲜生",
VendorIDWSC: "京西菜市",
}
OrderStatusName = map[int]string{
OrderStatusUnlocked: "解锁",
OrderStatusLocked: "锁定",