优化活动日志代码

This commit is contained in:
lanrenwo
2022-11-08 12:19:32 +08:00
10 changed files with 84 additions and 66 deletions

View File

@@ -178,7 +178,7 @@ func UserOnline(w http.ResponseWriter, r *http.Request) {
func UserOffline(w http.ResponseWriter, r *http.Request) {
_ = r.ParseForm()
token := r.FormValue("token")
sessdata.CloseSess(token)
sessdata.CloseSess(token, 4)
RespSucess(w, nil)
}