From 9c33e4ccb90fae87a614abd2ed1ab034d3b7a13d Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期五, 26 三月 2021 11:26:01 +0800 Subject: [PATCH] 2021-03-26 1.对接接口优化。 --- HDL-ON_iOS/AppDelegate.cs | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/HDL-ON_iOS/AppDelegate.cs b/HDL-ON_iOS/AppDelegate.cs index 58437b4..99caa0e 100644 --- a/HDL-ON_iOS/AppDelegate.cs +++ b/HDL-ON_iOS/AppDelegate.cs @@ -295,6 +295,7 @@ var title = alert["title"] as NSString; var expandData = ""; var messageType = ""; + var expantContent = ""; if (userInfo.ContainsKey(new NSString("expandData"))) { var expandDataStr = userInfo["expandData"] as NSString; @@ -308,7 +309,13 @@ messageType = expandDataNSD["messageType"] as NSString; Utlis.WriteLine("messageType: " + messageType); } - + + if (expandDataNSD.ContainsKey(new NSString("expantContent"))) + { + expantContent = expandDataNSD["expantContent"] as NSString; + Utlis.WriteLine("expantContent: " + expantContent); + } + } } else @@ -322,7 +329,8 @@ Title = title, Content = body, Extras = expandData, - messageType = messageType + messageType = messageType, + expantContent = expantContent }; Utlis.WriteLine("PushMes title : " + pushMes.Title); Utlis.WriteLine("PushMes message : " + pushMes.Content); -- Gitblit v1.8.0