aa
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user