- add cms.constant shopChineseNames
This commit is contained in:
@@ -49,6 +49,7 @@ func InitServiceInfo(version, buildDate, gitCommit string) {
|
|||||||
"opRequestTypeName": model.RequestTypeName,
|
"opRequestTypeName": model.RequestTypeName,
|
||||||
"opRequestStatusName": model.RequestStatusName,
|
"opRequestStatusName": model.RequestStatusName,
|
||||||
"storeMsgSendStatusName": model.StoreMsgSendStatusName,
|
"storeMsgSendStatusName": model.StoreMsgSendStatusName,
|
||||||
|
"shopChineseNames": model.ShopChineseNames,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
Init()
|
Init()
|
||||||
|
|||||||
@@ -40,6 +40,14 @@ var (
|
|||||||
VendorIDMTPS: "美团配送",
|
VendorIDMTPS: "美团配送",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ShopChineseNames = map[int]string{
|
||||||
|
VendorIDJD: "京西菜市",
|
||||||
|
VendorIDMTWM: "美好菜市",
|
||||||
|
VendorIDELM: "好菜鲜生",
|
||||||
|
VendorIDEBAI: "好菜鲜生",
|
||||||
|
VendorIDWSC: "京西菜市",
|
||||||
|
}
|
||||||
|
|
||||||
OrderStatusName = map[int]string{
|
OrderStatusName = map[int]string{
|
||||||
OrderStatusUnlocked: "解锁",
|
OrderStatusUnlocked: "解锁",
|
||||||
OrderStatusLocked: "锁定",
|
OrderStatusLocked: "锁定",
|
||||||
|
|||||||
Reference in New Issue
Block a user