diff --git a/business/jxcallback/scheduler/scheduler.go b/business/jxcallback/scheduler/scheduler.go index 034900188..de78c8f73 100644 --- a/business/jxcallback/scheduler/scheduler.go +++ b/business/jxcallback/scheduler/scheduler.go @@ -27,7 +27,12 @@ const ( ) var ( - CurrentScheduler IScheduler + CurrentScheduler IScheduler + StoreDeliveryTypeName = map[int]string{ + StoreDeliveryTypeCrowdSourcing: "平台众包", + StoreDeliveryTypeByPlatform: "平台专送", + StoreDeliveryTypeByStore: "商家自送", + } ) var ( diff --git a/business/jxstore/cms/cms.go b/business/jxstore/cms/cms.go index d165c749e..b83b0b164 100644 --- a/business/jxstore/cms/cms.go +++ b/business/jxstore/cms/cms.go @@ -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()