🔥 移除短链接生成代码,疑似会引起封号

This commit is contained in:
李寻欢
2024-07-17 08:36:34 +08:00
parent b794df9b63
commit 3fbaf1a9ef
3 changed files with 1 additions and 42 deletions

View File

@@ -75,10 +75,7 @@ func getTopData() (data []string) {
}
d.Channel = "百度"
newDatas = append(newDatas, d)
shortUrl := utils.GenShortUrl(d.Url)
if shortUrl != "" {
data = append(data, fmt.Sprintf("标题: %s\n热度: %s\n详情: %s", d.Title, d.Hot, shortUrl))
}
data = append(data, fmt.Sprintf("标题: %s\n热度: %s\n详情: %s", d.Title, d.Hot, d.Url))
}
// 保存新数据到数据库
if len(newDatas) > 0 {