We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 972fda5 commit 3774b59Copy full SHA for 3774b59
Runtime/Helper/TimerHelper.cs
@@ -64,7 +64,7 @@ public static void SetDifferenceTime(long timeSpan)
64
65
if (_isSecLevel)
66
{
67
- _differenceTime = timeSpan - ClientNow();
+ _differenceTime = timeSpan - ClientNowSeconds();
68
}
69
else
70
@@ -108,7 +108,7 @@ public static long ServerNow() //秒级
108
109
110
111
- return _differenceTime + ClientNow();
+ return _differenceTime + ClientNowMillisecond();
112
113
114
return (_differenceTime + ClientNowMillisecond()) / 1000;
0 commit comments