Commit fc18e3b2 authored by hujun's avatar hujun

对ios推送模板处理

parent c213018e
......@@ -130,7 +130,7 @@ class GeTuiUtils
$alertmsg=new DictionaryAlertMsg();
$alertmsg->body=$content;
$alertmsg->actionLocKey="ActionLockey";
$alertmsg->locKey="LocKey";
$alertmsg->locKey=$black_title;
$alertmsg->locArgs=array("locargs");
$alertmsg->launchImage="launchimage";
// iOS8.2 支持
......@@ -141,7 +141,7 @@ class GeTuiUtils
$apn->alertMsg=$alertmsg;
$apn->badge=1;
$apn->sound="";
$apn->add_customMsg("payload","请填写内容");
$apn->add_customMsg("payload",$payload);
// $apn->contentAvailable=1;
$apn->category="ACTIONABLE";
$template->set_apnInfo($apn);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment