/******************** 下面的代码仅仅是测试用了,实际并不需要 ********************/ private static RepMusicMessage SimulateMusicMessage(ReceiveMessage msg) { //音乐响应 var r = msg.GetMusicResponse(); r.Data = new MusicMsgData { Description = "说明信息", Title = "听首歌吧", MusicUrl = WebConfigurationManager.AppSettings["music"], HQMusicUrl = WebConfigurationManager.AppSettings["hqmusic"] }; return(r); }