修复数据库时间比前端小8小时的问题,优化null值前端不显示

This commit is contained in:
wsczx
2022-10-16 19:55:13 +08:00
parent a533ee0a78
commit 812eb587bb
4 changed files with 15 additions and 12 deletions

View File

@@ -116,8 +116,7 @@ func checkSession() {
// 状态为过期的用户踢下线
func CloseUserLimittimeSession() {
y := dbdata.CheckUserlimittime()
s := mapset.NewSetFromSlice(y)
s := mapset.NewSetFromSlice(dbdata.CheckUserlimittime())
for k, v := range sessions {
sessMux.Lock()
v.mux.Lock()