🎨 改进代码样式

This commit is contained in:
github-actions[bot] 2022-04-20 04:50:42 +00:00
parent c0fa7efb27
commit 228ca7f9c0

View File

@ -143,11 +143,10 @@ func cloud163(keyword string) message.MessageSegment {
"keywords": []string{keyword},
}
// 通过API 搜索音乐信息 第一首
// 返回音乐卡片
// 返回音乐卡片
return message.Music("163", gjson.ParseBytes(netPost("https://nemapi.windis.xyz/search", data, headers)).Get("result.songs.0.id").Int())
}
// qqmusic 返回QQ音乐卡片
func qqmusic(keyword string) message.MessageSegment {
// 搜索音乐信息 第一首歌