格式导表兼容冒号

This commit is contained in:
ayflying
2025-02-26 12:21:18 +08:00
parent 0cfaa799f5
commit 915d474fea
2 changed files with 7 additions and 2 deletions

View File

@@ -27,7 +27,6 @@ func Excel2Slice(filePath string, _sheet ...string) [][]string {
// 字符串转道具类型
func Spilt2Item(str string) (result [][]int64) {
var shadiao = []string{","}
for _, v := range shadiao {
str = strings.ReplaceAll(str, v, "|")
//parts = append(parts, strings.Split(str, v)...) // 分割字符串