- scheduler.StoreDeliveryTypeName

This commit is contained in:
gazebo
2018-11-20 08:46:27 +08:00
parent e8705b12ec
commit 78cbb75f3d
2 changed files with 8 additions and 1 deletions

View File

@@ -27,7 +27,12 @@ const (
)
var (
CurrentScheduler IScheduler
CurrentScheduler IScheduler
StoreDeliveryTypeName = map[int]string{
StoreDeliveryTypeCrowdSourcing: "平台众包",
StoreDeliveryTypeByPlatform: "平台专送",
StoreDeliveryTypeByStore: "商家自送",
}
)
var (

View File

@@ -6,6 +6,7 @@ import (
"strconv"
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/business/jxcallback/scheduler"
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/business/model/dao"
@@ -42,6 +43,7 @@ func InitServiceInfo(version, buildDate, gitCommit string) {
"bankName": model.BankName,
"promotionStatusName": model.PromotionStatusName,
"orderTypeName": model.OrderTypeName,
"storeDeliveryTypeName": scheduler.StoreDeliveryTypeName,
},
}
Init()