From 25bb055b0249d86548883083bb315922e6a2076b Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 24 十一月 2020 15:39:08 +0800 Subject: [PATCH] 2020-11-24 1.注册增加服务器选择。 2.增加极光推送接口 --- HDL_ON/DAL/Server/NewApiRes.cs | 43 +++++++++++++++++++++++++++++++++++-------- 1 files changed, 35 insertions(+), 8 deletions(-) diff --git a/HDL_ON/DAL/Server/NewApiRes.cs b/HDL_ON/DAL/Server/NewApiRes.cs index 6703451..024c220 100644 --- a/HDL_ON/DAL/Server/NewApiRes.cs +++ b/HDL_ON/DAL/Server/NewApiRes.cs @@ -1032,7 +1032,7 @@ /// </summary> public string deviceName; /// <summary> - /// + /// Android銆両OS銆乄inPhone /// </summary> public string deviceType; /// <summary> @@ -1042,24 +1042,51 @@ /// <summary> /// 鎺ㄩ�両D /// </summary> - public string pushid; + public string pushToken; /// <summary> - /// 1鏄疕DL_ON銆�2HDL_Zigbee + /// 杞欢鏉ユ簮锛孍voyo銆丱N銆丱N_Plus /// </summary> - //public string software = MainPage.RequestSource; - public string software = "HDL_ON"; + public string software = "ON_Plus"; } - + /// <summary> + /// + /// </summary> [System.Serializable] - public class PushserivceIdObj + public class PushIdObj { /// <summary> /// /// </summary> - public string id; + public string pushId; } + /// <summary> + /// + /// </summary> + [System.Serializable] + public class GetMessageListObj: PushIdObj + { + /// <summary> + /// 浣忓畢涓婚敭id + /// 1銆佷紶绌烘煡璇㈠叏閮紙闇�瑕佹牴鎹敤鎴峰煙鍚嶆煡璇級 2銆佷紶鎸囧畾浣忓畢ID鏌ヨ鎸囧畾璁板綍 锛堥渶瑕佹牴鎹綇瀹呭煙鍚嶆煡璇級 + /// </summary> + public string homeId; + } + + /// <summary> + /// 娑堟伅璁板綍Id + /// </summary> + [System.Serializable] + public class PushMsgIdObj + { + /// <summary> + /// 娑堟伅璁板綍Id + /// </summary> + public string msgId; + } + + ///// <summary> ///// 鎺ㄩ�佹秷鎭垪琛� ///// </summary> -- Gitblit v1.8.0