From 10b0fb0511bff0280ad9fa3f50b5dabfb2998034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 17 Jan 2020 16:53:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=93=8D=E4=BD=9C=E6=97=A5=E5=BF=97-=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E9=97=A8=E5=BA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/store.go | 3 +++ business/model/const.go | 2 ++ 2 files changed, 5 insertions(+) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 098c9350d..558d0acdc 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -1044,6 +1044,9 @@ func CreateStore(ctx *jxcontext.Context, storeExt *StoreExt, userName string) (i TryAddStoreBossRole4StoreByMobile(ctx, storeExt.ID, []string{storeExt.Tel1, storeExt.Tel2}) return store.ID, err } + if globals.IsAddEvent { + err = AddEventDetail(db, ctx, model.OperateAdd, store.ID, model.ThingTypeStore, store.ID, "", "") + } return 0, err } diff --git a/business/model/const.go b/business/model/const.go index f3292b7be..7779a883f 100644 --- a/business/model/const.go +++ b/business/model/const.go @@ -123,6 +123,8 @@ var ( "UpdateStoresSkus": "门店商品管理", "UpdateStoresSkusSale": "门店商品可售状态修改", "CopyStoreSkus": "京西门店商品复制到京西", + "UpdateStore": "门店管理-更新门店信息", + "CreateStore": "门店管理-创建门店", } MultiStoresVendorMap = map[int]int{