fix: add user to blacklist when it's banned or deleted, and make deletion soft (close #473, close #791)

This commit is contained in:
JustSong
2024-03-10 15:56:19 +08:00
parent 27ad8bfb98
commit 6ebc99460e
4 changed files with 47 additions and 4 deletions

View File

@@ -15,6 +15,7 @@ const (
const (
UserStatusEnabled = 1 // don't use 0, 0 is the default value!
UserStatusDisabled = 2 // also don't use 0
UserStatusDeleted = 3
)
const (