From 7a0bc2ec02ec01a9ba72f1d362e52b0c8fefd815 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Tue, 22 Jun 2021 16:55:01 +0800 Subject: [PATCH] aa --- business/partner/purchase/jdshop/store.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/business/partner/purchase/jdshop/store.go b/business/partner/purchase/jdshop/store.go index 9638defb5..facebfcf0 100644 --- a/business/partner/purchase/jdshop/store.go +++ b/business/partner/purchase/jdshop/store.go @@ -4,6 +4,7 @@ import ( "encoding/base64" "encoding/json" "fmt" + "git.rosy.net.cn/jx-callback/globals" "strings" "time" @@ -243,7 +244,7 @@ func (p *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri if strings.Contains(storeName, " ") { storeName = strings.ReplaceAll(storeName, " ", "") } - storeName = "京西菜市" + strings.ReplaceAll(storeName, "店", "") + "生鲜店" + storeName = globals.StoreName + strings.ReplaceAll(storeName, "店", "") + "生鲜店" if len(storeName) > 30 { storeName = utils.LimitUTF8StringLen2(storeName, 30) }