| @@ -190,15 +190,14 @@ func musicMsgTemplate() string { | |||
| func buildSampleArticleMsg(ToUserName string) (msg string) { | |||
| art := Article{} | |||
| art.title = "bcti" | |||
| art.description = "f;alsfjl;dsajfls;ajfl;sajl;fjdsal;fsdla;\nfjsdal;fjasd;lfdas;\n" | |||
| art.title = "标题描述很长,不知道多少汉字" | |||
| art.description = "f;alsfjl;dsajfls;ajfl;sajl;fjdsal;fs" | |||
| art.picURL = "http://placehold.it/360x200" | |||
| art.url = "http://doc.biukop.com.au/" | |||
| articles := []Article{} | |||
| articles = append(articles, art) | |||
| articles = append(articles, art) | |||
| articles = append(articles, art) | |||
| msg = buildNewsMsg(ToUserName, "标题", "描述", articles) | |||
| return | |||
| } | |||