This commit is contained in:
cdle
2021-10-13 09:34:42 +08:00
parent 12d6848234
commit 47bfd04df5
+1 -1
View File
@@ -22,7 +22,7 @@ func init() {
}
reply := func(str string) string {
str, _ = httplib.Get(fmt.Sprintf(api, str)).String()
s.Reply(str)
// s.Reply(str)
if gjson := sillyGirl.Get("小爱同学gjson"); gjson != "" {
str, _ = jsonparser.GetString([]byte(str), strings.Split(gjson, ".")...)
}