Skip to content

Commit 52be97f

Browse files
authored
fix exptime
1 parent a9a08ad commit 52be97f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

getui.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var (
3232
ctx = context.Background()
3333

3434
// expTime token 在redis中的过期时间
35-
expTime = time.Now().Add(time.Hour * 20).Unix()
35+
expTime = time.Hour * 20
3636
)
3737

3838
// PushConfig 配置

0 commit comments

Comments
 (0)