a
This commit is contained in:
@@ -1634,13 +1634,13 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
||||
storeName = storeName[0:strings.Index(storeName, "(")] + storeName[strings.Index(storeName, ")")+3:len(storeName)]
|
||||
}
|
||||
if strings.Contains(storeName, ".") {
|
||||
storeName = storeName[0:strings.Index(storeName, ".")] + storeName[strings.Index(storeName, ".")+1:len(storeName)]
|
||||
storeName = strings.ReplaceAll(storeName, ".", "")
|
||||
}
|
||||
if strings.Contains(storeName, "-") {
|
||||
storeName = storeName[0:strings.Index(storeName, "-")] + storeName[strings.Index(storeName, "-")+1:len(storeName)]
|
||||
storeName = strings.ReplaceAll(storeName, "-", "")
|
||||
}
|
||||
if strings.Contains(storeName, " ") {
|
||||
storeName = storeName[0:strings.Index(storeName, " ")] + storeName[strings.Index(storeName, " ")+1:len(storeName)]
|
||||
storeName = strings.ReplaceAll(storeName, " ", "")
|
||||
}
|
||||
storeName = "京西菜市" + strings.ReplaceAll(storeName, "店", "") + "生鲜店"
|
||||
if len(storeName) > 30 {
|
||||
|
||||
Reference in New Issue
Block a user