From f1db21b3020fe342c7169b2eebcba33340a51e73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Tue, 27 Oct 2020 16:12:59 +0800 Subject: [PATCH] service --- business/jxstore/cms/cms.go | 1 + business/model/const.go | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/business/jxstore/cms/cms.go b/business/jxstore/cms/cms.go index 38507dc1c..dbf85e11a 100644 --- a/business/jxstore/cms/cms.go +++ b/business/jxstore/cms/cms.go @@ -74,6 +74,7 @@ func InitServiceInfo(version string, buildTime time.Time, gitCommit string) { "operateType": model.OperateTypeName, "apiFunctionName": model.ApiFunctionName, "vendorStatus": model.VendorStatus, + "jobLimitCountType": model.JobLimitCountType, }, } } diff --git a/business/model/const.go b/business/model/const.go index 0a8e0fb12..e336a3e71 100644 --- a/business/model/const.go +++ b/business/model/const.go @@ -198,6 +198,12 @@ var ( 0: "休息", 1: "营业", } + JobLimitCountType = map[int]string{ + JobLimitCountTypePO: "每人一次", + JobLimitCountTypePDO: "每人一天一次", + JobLimitCountTypePWO: "每人一周一次", + JobLimitCountTypeNoLimit: "不限次", + } ) const (