|
|
@@ -71,6 +71,7 @@ class pushNotice
|
|
|
// $strategy->setIos(GTStrategy::STRATEGY_GT_ONLY);
|
|
|
// $strategy->setOp(GTStrategy::STRATEGY_THIRD_FIRST);
|
|
|
// $strategy->setHw(GTStrategy::STRATEGY_THIRD_ONLY);
|
|
|
+ $strategy->setHw(GTStrategy::STRATEGY_GT_FIRST);
|
|
|
$set->setStrategy($strategy);
|
|
|
|
|
|
|
|
|
@@ -86,6 +87,7 @@ class pushNotice
|
|
|
$notify = new GTNotification();
|
|
|
$notify->setTitle($title);
|
|
|
$notify->setBody($body);
|
|
|
+ $notify->setChannelLevel(4);
|
|
|
|
|
|
//点击通知后续动作,目前支持以下后续动作:
|
|
|
//1、intent:打开应用内特定页面url:打开网页地址。2、payload:自定义消息内容启动应用。3、payload_custom:自定义消息内容不启动应用。4、startapp:打开应用首页。5、none:纯通知,无后续动作
|