auto adjust server and local timestamp for totp

This commit is contained in:
TenderIronh
2021-12-14 15:25:38 +08:00
parent dd3d87c3d2
commit 6c1551d951
5 changed files with 61 additions and 45 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ import (
"time"
)
const OpenP2PVersion = "0.96.1"
const OpenP2PVersion = "0.97.0"
const ProducnName string = "openp2p"
type openP2PHeader struct {
@@ -198,7 +198,7 @@ type PushRsp struct {
type LoginRsp struct {
Error int `json:"error,omitempty"`
Detail string `json:"detail,omitempty"`
Ts uint64 `json:"ts,omitempty"`
Ts int64 `json:"ts,omitempty"`
}
type NatDetectReq struct {