From 48736d3f4acef889678efaf069c6521eb8e7c1d5 Mon Sep 17 00:00:00 2001 From: fumiama Date: Sat, 15 Jan 2022 11:02:34 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A9=F0=9F=91=8C=20make=20lint=20happy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin_gif/logo.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin_gif/logo.go b/plugin_gif/logo.go index 7a4a73b0..9be8c093 100644 --- a/plugin_gif/logo.go +++ b/plugin_gif/logo.go @@ -7,13 +7,13 @@ import ( "github.com/FloatTech/zbputils/file" ) -func (c *context) prepareLogos(s ...string) { +func (cc *context) prepareLogos(s ...string) { for i, v := range s { _, err := strconv.Atoi(v) if err != nil { - _ = file.DownloadTo("https://gchat.qpic.cn/gchatpic_new//--"+strings.ToUpper(v)+"/0", c.usrdir+strconv.Itoa(i)+".gif", true) + _ = file.DownloadTo("https://gchat.qpic.cn/gchatpic_new//--"+strings.ToUpper(v)+"/0", cc.usrdir+strconv.Itoa(i)+".gif", true) } else { - _ = file.DownloadTo("http://q4.qlogo.cn/g?b=qq&nk="+v+"&s=640", c.usrdir+strconv.Itoa(i)+".gif", true) + _ = file.DownloadTo("http://q4.qlogo.cn/g?b=qq&nk="+v+"&s=640", cc.usrdir+strconv.Itoa(i)+".gif", true) } } }