From 5a095fd9a9f844a074666108f40da94bea3119b4 Mon Sep 17 00:00:00 2001 From: Patrick Peng Sun Date: Fri, 12 May 2017 01:07:25 +1000 Subject: [PATCH] thumbnail id for music message simply not working. (wechat is bad) --- outMsg.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/outMsg.go b/outMsg.go index 382f70f..0cd73c6 100644 --- a/outMsg.go +++ b/outMsg.go @@ -147,11 +147,16 @@ func videoMsgTemplate() string { func buildSampleMusicMsg(ToUserName string) (msg string) { thumbID := "AxEDlSNwJcs_0KnyiGnpAYiB1-sjITosWkU3VFsj62KuCyTQO-Fh1UH8d-pBmY1K" thumbID = "JZoNKZr9gzaI5ELBnFUljujiBfIwr4CtXHkZtQMjm-sLVD5PGOU_uvsaF3oNNFjp" + thumbID = "5dlAsVZ8znWBuGLTjAFM8mIqapHiI0Cmazsvx4TmbsQXZk73RZz8AVnbZp6oSJZn" //jpg 200x200 + thumbID = "e2iNEiSxCX5TV1WbFd0TQJsw84YtISnam2Q_qEXDdT4" //永久素材的 ID url := "http://www.youtubeinmp3.com/download/get/?i=vNIuJKoAE46uz2RggRaKGFqQUVAqd0Td&e=92&progressType=button&color=008000" url = "http://agobe.yt-downloader.org/download.php?id=d7be28d3a1fafa69d7e464edb8186226" url = "http://www.sample-videos.com/audio/mp3/india-national-anthem.mp3" url = "http://google.com/" - msg = buildMusicMsg(ToUserName, thumbID, "音乐标杆出", "fkd;ajf;daf说明动卡及另附;dasjfsda", url, url) + url = "http://m.creaders.net/travel/2017/05/11/1823175.html" + url = "https://biukop.com.au/music.mp3" //real mp3 + //url = "http://mp.weixin.qq.com/s/Jo7rmlMZa_iO97eckWIzFg" + msg = buildMusicMsg(ToUserName, thumbID, "音乐标杆出", "测试音乐缩略土月卡其", url, url) return }