From 5908e49da8f29fd41aafa5c8f3c092fe3dd70aba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 15 Oct 2020 15:32:56 +0800 Subject: [PATCH] storelevel --- business/jxstore/cms/store.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index b823d2076..8b20197a3 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -1095,6 +1095,9 @@ func CreateStore(ctx *jxcontext.Context, storeExt *StoreExt, userName string) (i store.PrinterKey = newID2 } } + if store.StoreLevel == "" { + store.StoreLevel = "C" + } dao.WrapAddIDCULDEntity(store, userName) store.ID = existingID if err = dao.CreateEntity(db, store); err == nil {