fix: use https logo url (fix #937)

This commit is contained in:
源文雨
2024-08-05 20:15:08 +08:00
parent 2710074f00
commit 4ffa18c511
7 changed files with 16 additions and 16 deletions

View File

@@ -325,7 +325,7 @@ func getrank(count int) int {
func initPic(picFile string, uid int64) (avatar []byte, err error) {
defer process.SleepAbout1sTo2s()
avatar, err = web.GetData("http://q4.qlogo.cn/g?b=qq&nk=" + strconv.FormatInt(uid, 10) + "&s=640")
avatar, err = web.GetData("https://q4.qlogo.cn/g?b=qq&nk=" + strconv.FormatInt(uid, 10) + "&s=640")
if err != nil {
return
}