个推 php如何配置

查看:139
本文介绍了个推 php如何配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

1 下载并修改官网的demo.php 如下几项
define('APPKEY','xxxxxooooo ');
define('APPID','ssssaaaaa ');
define('MASTERSECRET',' aadfadfsafafafdfd');
define('HOST','http://sdk.open.api.igexin.co...');
define('CID',' adsafasdfasd');

2然后测试 访问demo.php 结果如下
array(2) { ["result"]=> string(2) "ok" ["data"]=> array(7) { ["appId"]=> string(22) " xxxxxxxx" ["date"]=> string(8) "20140807" ["sendCount"]=> int(0) ["sendOnlineCount"]=> int(0) ["receiveCount"]=> int(0) ["showCount"]=> int(0) ["clickCount"]=> int(0) } }

但是手机上的demo app并没有接收到任何提示

解决方案

自行测试后发现需要打开 //pushMessageToApp();

这篇关于个推 php如何配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆