{"action":"created","issue":{"url":"https://api.github.com/repos/Eric-Guo/wechat/issues/72","labels_url":"https://api.github.com/repos/Eric-Guo/wechat/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/Eric-Guo/wechat/issues/72/comments","events_url":"https://api.github.com/repos/Eric-Guo/wechat/issues/72/events","html_url":"https://github.com/Eric-Guo/wechat/issues/72","id":118794310,"number":72,"title":"如何在controller里发送模板消息","user":{"login":"skji","id":2420990,"avatar_url":"https://avatars.githubusercontent.com/u/2420990?v=3","gravatar_id":"","url":"https://api.github.com/users/skji","html_url":"https://github.com/skji","followers_url":"https://api.github.com/users/skji/followers","following_url":"https://api.github.com/users/skji/following{/other_user}","gists_url":"https://api.github.com/users/skji/gists{/gist_id}","starred_url":"https://api.github.com/users/skji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skji/subscriptions","organizations_url":"https://api.github.com/users/skji/orgs","repos_url":"https://api.github.com/users/skji/repos","events_url":"https://api.github.com/users/skji/events{/privacy}","received_events_url":"https://api.github.com/users/skji/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"feitian124","id":1425383,"avatar_url":"https://avatars.githubusercontent.com/u/1425383?v=3","gravatar_id":"","url":"https://api.github.com/users/feitian124","html_url":"https://github.com/feitian124","followers_url":"https://api.github.com/users/feitian124/followers","following_url":"https://api.github.com/users/feitian124/following{/other_user}","gists_url":"https://api.github.com/users/feitian124/gists{/gist_id}","starred_url":"https://api.github.com/users/feitian124/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feitian124/subscriptions","organizations_url":"https://api.github.com/users/feitian124/orgs","repos_url":"https://api.github.com/users/feitian124/repos","events_url":"https://api.github.com/users/feitian124/events{/privacy}","received_events_url":"https://api.github.com/users/feitian124/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-11-25T09:28:43Z","updated_at":"2015-11-26T11:32:23Z","closed_at":null,"body":"如题。可否提供个简单的示例。thanks"},"comment":{"url":"https://api.github.com/repos/Eric-Guo/wechat/issues/comments/159890310","html_url":"https://github.com/Eric-Guo/wechat/issues/72#issuecomment-159890310","issue_url":"https://api.github.com/repos/Eric-Guo/wechat/issues/72","id":159890310,"user":{"login":"skji","id":2420990,"avatar_url":"https://avatars.githubusercontent.com/u/2420990?v=3","gravatar_id":"","url":"https://api.github.com/users/skji","html_url":"https://github.com/skji","followers_url":"https://api.github.com/users/skji/followers","following_url":"https://api.github.com/users/skji/following{/other_user}","gists_url":"https://api.github.com/users/skji/gists{/gist_id}","starred_url":"https://api.github.com/users/skji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skji/subscriptions","organizations_url":"https://api.github.com/users/skji/orgs","repos_url":"https://api.github.com/users/skji/repos","events_url":"https://api.github.com/users/skji/events{/privacy}","received_events_url":"https://api.github.com/users/skji/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T11:32:23Z","updated_at":"2015-11-26T11:32:23Z","body":"已解决 谢谢两位！\r\n```ruby\r\n Wechat.api.template_message_send Wechat::Message.to(openid).template(template)\r\n```"}}