From af79eca235e3db86a10dc13d547211ebd05730e5 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Thu, 23 Sep 2021 19:16:48 +0800 Subject: [PATCH] update --- core/reply.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/reply.go b/core/reply.go index e4e938f..1574d1c 100644 --- a/core/reply.go +++ b/core/reply.go @@ -143,7 +143,7 @@ func InitReplies() { if v[1] == "?" { g = string(f) } else { - g, _ = jsonparser.GetString(data, strings.Split(v[1], ".")[1:]...) + g, _ = jsonparser.GetString(f, strings.Split(v[1], ".")[1:]...) } fmt.Println(g) cptn = strings.Replace(cptn, fmt.Sprintf(`"[%s]"`, v[1]), g, -1)