This commit is contained in:
parent
02dd9f0514
commit
a0fd55700b
@ -275,7 +275,7 @@ func StrArrayToJsonStr(a string) string {
|
|||||||
a = Substr(a, 1, len(a)-1)
|
a = Substr(a, 1, len(a)-1)
|
||||||
}
|
}
|
||||||
if a[len(a)-1] == ',' {
|
if a[len(a)-1] == ',' {
|
||||||
a = Substr(a, 1, len(a)-2)
|
a = Substr(a, 0, len(a)-1)
|
||||||
}
|
}
|
||||||
//a = strings.Replace(a, ",", `,`, -1)
|
//a = strings.Replace(a, ",", `,`, -1)
|
||||||
a = `[` + a + `]`
|
a = `[` + a + `]`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user