This commit is contained in:
suyl
2021-06-22 16:55:01 +08:00
parent b2bd2facfe
commit 7a0bc2ec02

View File

@@ -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)
}