From 11c9c85871ff307a9236b2fe93c0af5355ea821c Mon Sep 17 00:00:00 2001 From: ZJY <764763903@qq.com> Date: Thu, 2 Sep 2021 10:11:49 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=BC=80=E6=94=BE=20wskey=E8=BD=ACptkey=20?= =?UTF-8?q?=E3=80=82=E3=80=82=E3=80=82=E5=AE=89=E5=85=A8=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E8=87=AA=E5=B7=B1=E8=B4=9F=E8=B4=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/bot.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/models/bot.go b/models/bot.go index fa04318..4417137 100644 --- a/models/bot.go +++ b/models/bot.go @@ -89,11 +89,9 @@ var handleMessage = func(msgs ...interface{}) interface{} { post := "{\"key\":\"" + "xb3z4z2m3n847" + "\",\"wskey\":\"" + msg + "\"}" - req := httplib.Post("https://jdsign.tk/getck") + req := httplib.Post("http://cdn.xia.me/getck") req.Body(post) rsp, err := req.String() - logs.Warn(msg) - logs.Warn(rsp) if err != nil { return err } From d651357092709c58ee50bad0cc1789df956ada7f Mon Sep 17 00:00:00 2001 From: ZJY <764763903@qq.com> Date: Thu, 2 Sep 2021 10:20:13 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E4=B8=BB=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 7da21c3..9c0c610 100644 --- a/main.go +++ b/main.go @@ -27,7 +27,7 @@ func main() { }) web.Get("/", func(ctx *context.Context) { if models.Config.Theme == "" { - models.Config.Theme = models.GhProxy + "https://raw.githubusercontent.com/764763903a/xdd/main/theme/noodin.html" + models.Config.Theme = models.GhProxy + "https://raw.githubusercontent.com/764763903a/xdd/main/theme/admin.html" } if theme != "" { ctx.WriteString(theme)