{"action":"created","issue":{"url":"https://api.github.com/repos/BenBBear/cordova-plugin-leanpush/issues/14","repository_url":"https://api.github.com/repos/BenBBear/cordova-plugin-leanpush","labels_url":"https://api.github.com/repos/BenBBear/cordova-plugin-leanpush/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/BenBBear/cordova-plugin-leanpush/issues/14/comments","events_url":"https://api.github.com/repos/BenBBear/cordova-plugin-leanpush/issues/14/events","html_url":"https://github.com/BenBBear/cordova-plugin-leanpush/issues/14","id":150030000,"number":14,"title":"是否支持声音播放","user":{"login":"kongkang","id":3815167,"avatar_url":"https://avatars.githubusercontent.com/u/3815167?v=3","gravatar_id":"","url":"https://api.github.com/users/kongkang","html_url":"https://github.com/kongkang","followers_url":"https://api.github.com/users/kongkang/followers","following_url":"https://api.github.com/users/kongkang/following{/other_user}","gists_url":"https://api.github.com/users/kongkang/gists{/gist_id}","starred_url":"https://api.github.com/users/kongkang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kongkang/subscriptions","organizations_url":"https://api.github.com/users/kongkang/orgs","repos_url":"https://api.github.com/users/kongkang/repos","events_url":"https://api.github.com/users/kongkang/events{/privacy}","received_events_url":"https://api.github.com/users/kongkang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-21T10:17:46Z","updated_at":"2016-04-21T10:52:51Z","closed_at":"2016-04-21T10:52:51Z","body":"首先感恩这么好的插件（发自肺腑的感觉方便了很多工作！！！\r\n\r\n想问下插件中是否支持声音？\r\n简单搜索了一下sound，貌似并没有。\r\n\r\n如果支持，求作者简单提示，剩下我自己查资料或补代码。\r\n（已经用了插件，已经没脸做伸手坐等党了……但确实不会任何原生代码，项目时间也不允许现学"},"comment":{"url":"https://api.github.com/repos/BenBBear/cordova-plugin-leanpush/issues/comments/212854670","html_url":"https://github.com/BenBBear/cordova-plugin-leanpush/issues/14#issuecomment-212854670","issue_url":"https://api.github.com/repos/BenBBear/cordova-plugin-leanpush/issues/14","id":212854670,"user":{"login":"kongkang","id":3815167,"avatar_url":"https://avatars.githubusercontent.com/u/3815167?v=3","gravatar_id":"","url":"https://api.github.com/users/kongkang","html_url":"https://github.com/kongkang","followers_url":"https://api.github.com/users/kongkang/followers","following_url":"https://api.github.com/users/kongkang/following{/other_user}","gists_url":"https://api.github.com/users/kongkang/gists{/gist_id}","starred_url":"https://api.github.com/users/kongkang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kongkang/subscriptions","organizations_url":"https://api.github.com/users/kongkang/orgs","repos_url":"https://api.github.com/users/kongkang/repos","events_url":"https://api.github.com/users/kongkang/events{/privacy}","received_events_url":"https://api.github.com/users/kongkang/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T10:52:51Z","updated_at":"2016-04-21T10:52:51Z","body":"额，好像是我傻逼了，自己回答吧，方便以后的人：\r\n\r\n推送的时候，可以加声音参数：\r\n```\r\n        \"data\": {\r\n          \"alert\": \"本周五下午三点组织大家看电影《大圣归来》。\",\r\n          \"badge\": \"Increment\",\r\n          \"sound\": \"cheering.caf\",\r\n          \"title\": \"员工福利\"\r\n        }\r\n```\r\n\r\n参考文档：[定制消息属性](https://leancloud.cn/docs/push_guide.html#定制消息属性_)"}}