Commit fc18e3b2 authored by hujun's avatar hujun

对ios推送模板处理

parent c213018e
...@@ -130,7 +130,7 @@ class GeTuiUtils ...@@ -130,7 +130,7 @@ class GeTuiUtils
$alertmsg=new DictionaryAlertMsg(); $alertmsg=new DictionaryAlertMsg();
$alertmsg->body=$content; $alertmsg->body=$content;
$alertmsg->actionLocKey="ActionLockey"; $alertmsg->actionLocKey="ActionLockey";
$alertmsg->locKey="LocKey"; $alertmsg->locKey=$black_title;
$alertmsg->locArgs=array("locargs"); $alertmsg->locArgs=array("locargs");
$alertmsg->launchImage="launchimage"; $alertmsg->launchImage="launchimage";
// iOS8.2 支持 // iOS8.2 支持
...@@ -141,7 +141,7 @@ class GeTuiUtils ...@@ -141,7 +141,7 @@ class GeTuiUtils
$apn->alertMsg=$alertmsg; $apn->alertMsg=$alertmsg;
$apn->badge=1; $apn->badge=1;
$apn->sound=""; $apn->sound="";
$apn->add_customMsg("payload","请填写内容"); $apn->add_customMsg("payload",$payload);
// $apn->contentAvailable=1; // $apn->contentAvailable=1;
$apn->category="ACTIONABLE"; $apn->category="ACTIONABLE";
$template->set_apnInfo($apn); $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