This commit is contained in:
cdle
2021-09-23 15:11:19 +08:00
parent be53916ff9
commit cca3a1fcaf
+1 -1
View File
@@ -107,7 +107,7 @@ func InitReplies() {
}
for _, re := range regexp.MustCompile(`fjson[(][^()]+[)]`).FindAllStringSubmatch(content, -1) {
v := re[0]
ins := strings.Replace(strings.TrimRight(v, ")"), "gjson(", "", -1)
ins := strings.Replace(strings.TrimRight(v, ")"), "fjson(", "", -1)
ps := strings.Split(ins, ",")
get := ps[0]
ptn := ""