From c852715369b2814dee5cba25a24948995ffea6a0 Mon Sep 17 00:00:00 2001 From: qidongsheng Date: Mon, 6 Jul 2020 16:57:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Evendorstatus=E7=9A=84?= =?UTF-8?q?=E5=B8=B8=E9=87=8F=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/cms.go | 1 + business/model/const.go | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/business/jxstore/cms/cms.go b/business/jxstore/cms/cms.go index 94b5f0818..e656546a4 100644 --- a/business/jxstore/cms/cms.go +++ b/business/jxstore/cms/cms.go @@ -148,6 +148,7 @@ func InitServiceInfo(version string, buildTime time.Time, gitCommit string) { "operateType": model.OperateTypeName, "thingType": model.ThingTypeName, "apiFunctionName": model.ApiFunctionName, + "vendorstatus": model.VendorStatus, }, } } diff --git a/business/model/const.go b/business/model/const.go index 26b6ae09d..8b9401960 100644 --- a/business/model/const.go +++ b/business/model/const.go @@ -200,6 +200,10 @@ var ( AfsAppealTypeReturnAndRefund: "退款", // 这个其实是退货退款,强制显示成退款 AfsAppealTypeNewGoods: "退款.", // 这个其实是重发商品,强制显示成退款 } + VendorStatus = map[int]string{ + 0: "休息", + 1: "营业", + } ) const (