From 3055ac3c5a7a18db21f2adc6a36f68ae0fd708c2 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 06 五月 2022 14:48:58 +0800
Subject: [PATCH] 定制
---
HDL_ON/UI/UI0-Public/AppUnlockPage.cs | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/HDL_ON/UI/UI0-Public/AppUnlockPage.cs b/HDL_ON/UI/UI0-Public/AppUnlockPage.cs
index 637798b..1129e4a 100644
--- a/HDL_ON/UI/UI0-Public/AppUnlockPage.cs
+++ b/HDL_ON/UI/UI0-Public/AppUnlockPage.cs
@@ -1,4 +1,5 @@
锘縰sing System;
+using HDL_ON.DAL.Server;
using Shared;
namespace HDL_ON.UI
{
@@ -75,6 +76,26 @@
{
if (UserInfo.Current.unlockTime.AddMinutes(5) > DateTime.Now || UserInfo.Current.appUnlockPasswrod == "" || UserInfo.Current.appUnlockPage.Count == 0)
{
+ if(UserInfo.Current.inCall.AddMinutes(30) > DateTime.Now ||
+ UserInfo.Current.inVideo)
+ {
+ //UserInfo.Current.PushMesLogTime = DateTime.MinValue;
+
+ //var pushMes = new JPushMessageInfo()
+ //{
+ // Title = UserInfo.Current.PushMesTitle,
+ // Content = UserInfo.Current.PushMesMessage,
+ // Extras = UserInfo.Current.PushMesExtras,
+ // messageType = UserInfo.Current.pushMesMessageType,
+ // expantContent = UserInfo.Current.pushMesExpantContent,
+ // HomeId = UserInfo.Current.PushMesHomeId,
+ //};
+ Shared.Application.RunOnMainThread(() =>
+ {
+ HDLCommon.Current.AdjustPushMessage(UserInfo.Current.pushMessageInfo);
+ });
+ }
+
return;
}
}
--
Gitblit v1.8.0