Able to manage token now

This commit is contained in:
JustSong
2023-04-23 12:43:10 +08:00
parent b908229429
commit 63da6dc6a0
11 changed files with 573 additions and 121 deletions

View File

@@ -10,6 +10,7 @@ import (
"runtime"
"strconv"
"strings"
"time"
)
func OpenBrowser(url string) {
@@ -132,6 +133,10 @@ func GetUUID() string {
return code
}
func GetTimestamp() int64 {
return time.Now().Unix()
}
func Max(a int, b int) int {
if a >= b {
return a