Fix: various bug fix

This commit is contained in:
2025-10-16 07:12:01 +08:00
parent 5bbab63a2c
commit 0dea850cfa
16 changed files with 185 additions and 56 deletions

View File

@@ -24,6 +24,7 @@ func (self *Handlers) PostLogout(
}
_, err := self.db.NewUpdate().
Model((*models.User)(nil)).
Set("is_logged = ?", false).
Where("username = ?", user.Username).
Exec(ctx)