From 15978205aa7e4aeca8af3d3d34a80a85f0265f63 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期一, 14 十二月 2020 10:42:52 +0800 Subject: [PATCH] 2020-12-14 1.密码锁定错误码处理 --- HDL_ON/Common/Utlis.cs | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/HDL_ON/Common/Utlis.cs b/HDL_ON/Common/Utlis.cs index 4597fc4..51066b8 100644 --- a/HDL_ON/Common/Utlis.cs +++ b/HDL_ON/Common/Utlis.cs @@ -2,8 +2,6 @@ using Shared; using System.Text.RegularExpressions; using System.Text; -using System.Collections.Generic; -using System.Collections; namespace HDL_ON { @@ -305,15 +303,16 @@ } /// <summary> - /// 鑾峰彇褰撳墠鏃堕棿鎴冲�� - /// </summary> - /// <returns></returns> + /// + /// </summary> + /// <param name="isMilliseconds">鏄惁寰</param> + /// <returns></returns> public static string GetTimestamp(bool isMilliseconds = true) { System.DateTime startTime = TimeZone.CurrentTimeZone.ToLocalTime(new System.DateTime(1970, 1, 1)); // 褰撳湴鏃跺尯 if (isMilliseconds) { - return ((long)(DateTime.Now - startTime).TotalMilliseconds).ToString(); // 鐩稿樊绉掓暟 + return ((long)(DateTime.Now - startTime).TotalMilliseconds).ToString(); // 鐩稿樊寰鏁� } else { -- Gitblit v1.8.0