您好,当我发送普通通知的时候,提交后POST数据是这样的。
发送请求 post:{"action":"pushMessageToSingleAction","clientData":"CgASC3B1c2htZXNzYWdlGgAiFnVTMDlFU05yRTQ2TlFnbkhtU1lqTDIqFmJCUGlHTTFWUTY2bWhNSTNkOXRHMEEyADoHCgAiATFCAEIKCAEQABiQTpAKAEJWCJBOEAEYmk6iBghpY29uLnBuZ6oGALIGCUhlbGxvIEg1K7oGJeasoui\/juWbnuadpeS9k+mqjEhUTUw1IHBsdXPlupTnlKjvvIHABgHIBgHQBgGQCgBCCwiaThAAGK5OkAoAQhwIrk4QAxhk4ggA6ggGCgASABoA8AgB+AhkkAoAQgcIZBAHkAoA","transmissionContent":null,"isOffline":true,"offlineExpireTime":43200000,"appId":"bBPiGM1VQ66mhMI3d9tG0A","clientId":"be0de53e42ea0a878e44618078c4e5de","type":2,"pushType":"NotifyMsg","version":"3.0.0.0","appkey":"uS09ESNrE46NQgnHmSYjL2"} return:{"taskId":"OSS-0619_De8XLdhavCAGmixVoe3ty6","result":"ok","status":"successed_online"} array(3) { ["taskId"]=> string(31) "OSS-0619_De8XLdhavCAGmixVoe3ty6" ["result"]=> string(2) "ok" ["status"]=> string(16) "successed_online" }
里面有些参数不是很明白什么意思,所以想请教一下。服务器端的PHP是如何写的?里面的action和clientData及其他transmissionContent,isOffline,offlineExpireTime,type,pushType参数是怎么控制的,麻烦这些JOSN方面的参数说明一下,我看了这个文章,http://ask.dcloud.net.cn/question/4324
里面的这个类IGtNotificationTemplate在哪里下载?看的不是很明白。我是做PHP网站方面开发的,所以很喜欢DC,所以希望能走入DC这个大家庭。也希望DC越办越好。
张明 (作者)
太感谢你了!!!!
2015-06-19 08:46