Browse Source

调整推送参数

lcl 9 months ago
parent
commit
90562560e4
1 changed files with 4 additions and 1 deletions
  1. 4 1
      Util/Aliyun/AliyunPush.cs

+ 4 - 1
Util/Aliyun/AliyunPush.cs

@@ -52,6 +52,9 @@ namespace MySystem
                 IOSRemindBody = Body,
                 AndroidPopupTitle = Title,
                 AndroidPopupBody = Body,
+                AndroidNotifyType = "BOTH",
+                AndroidOpenType = "NONE",
+                AndroidExtParameters = "{\"Url\":\"user-payment-list\",\"Jump\":\"1\"}",
                 AndroidNotificationChannel = "1",
             };
             AlibabaCloud.SDK.Push20160801.Models.PushResponse response = client.Push(request);
@@ -76,7 +79,7 @@ namespace MySystem
                 IOSMutableContent = true,
                 IOSMusic = "pushSound.mp3",
                 IOSApnsEnv = Library.ConfigurationManager.EnvironmentFlag == 1 ? "DEV" : "PRODUCTION",
-                IOSExtParameters = "{\"Url\":\"welcome-test\"}",
+                IOSExtParameters = "{\"Url\":\"user-payment-list\"}",
             };
             AlibabaCloud.SDK.Push20160801.Models.PushResponse response = client.Push(request);
             return AlibabaCloud.TeaUtil.Common.ToJSONString(response.Body.ToMap());