ソースを参照

设置 OP 消息参数

shizhongqi 4 年 前
コミット
0139d0fe64
1 ファイル変更2 行追加1 行削除
  1. 2 1
      common/components/pushNotice.php

+ 2 - 1
common/components/pushNotice.php

@@ -149,8 +149,9 @@ class pushNotice
         $ups->addOption("HW", "/message/android/urgency","HIGH");
         $ups->addOption("HW", "/message/android/category", "WORK");
         $ups->addOption("HW", "/message/android/notification/importance", "NORMAL");
+
         //$ups->addOption("OP","channel","Default");
-        //$ups->addOption("OP","aaa","bbb");
+        $ups->addOption("OP","/classification",1);
         //$ups->addOption(null,"a","b");
 
         $thirdNotification = new GTThirdNotification();