From c22eda3519d5d7a688ce072ae2af52a9b7f10f0a Mon Sep 17 00:00:00 2001 From: becivells <732903873@qq.com> Date: Mon, 27 Dec 2021 11:46:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20debug=20=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/cli/cli.go | 4 ++-- internal/fx/fxquery.go | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/cli/cli.go b/internal/cli/cli.go index 3dceb35..d1a24ac 100644 --- a/internal/cli/cli.go +++ b/internal/cli/cli.go @@ -19,8 +19,8 @@ func banner() { magenta(" / /_ / __ \\ / /_ / __ `/| / ") magenta(` / __// /_/ // __// /_/ // | `) magenta(` /_/ \____//_/ \__,_//_/|_| `) - magenta(" " + FoFaXVersion) - bannerSite(" fofax.xiecat.fun\n") + magenta(" " + FoFaXVersion) + bannerSite(" https://fofax.xiecat.fun\n") } func bannerSite(a ...interface{}) { cl := color.New(color.FgHiGreen).SprintfFunc() diff --git a/internal/fx/fxquery.go b/internal/fx/fxquery.go index ddfb544..2361d55 100644 --- a/internal/fx/fxquery.go +++ b/internal/fx/fxquery.go @@ -190,7 +190,6 @@ func (fx FoFaxQuery) SearchSingleTable(query string) { table.Output([]Tinfo{{"Error", "id or query not null"}}) } for _, q := range fx.Plugins { - fmt.Println(q.Id, query) if StrEqual(query, q.Id) || StrEqual(query, q.Query) { q.ShowInfoTable() return