1 parent
08ed8c3636
commit
05b01bbc83
10 files changed
+245
-7
No files matched your search
@@ -1,11 +1,12 @@
|
||||
package models
|
||||
|
||||
// NotificationGrant 与业务数据共用数据库,只保存通知发信授权及不可逆凭据摘要。
|
||||
// NotificationGrant 与业务数据共用数据库;摘要用于认证,密文仅供身份验证后查看。
|
||||
type NotificationGrant struct {
|
||||
UserID int `xorm:"user_id pk" json:"user_id"`
|
||||
Enabled int `xorm:"enabled" json:"-"`
|
||||
CodeVersion int `xorm:"code_version" json:"version"`
|
||||
CodeHash string `xorm:"code_hash" json:"-"`
|
||||
CodeCiphertext string `xorm:"code_ciphertext varchar(512) null" json:"-"`
|
||||
SessionVersion int `xorm:"session_version" json:"-"`
|
||||
SecurityVersion int `xorm:"security_version" json:"-"`
|
||||
MinuteLimit int `xorm:"minute_limit" json:"minute_limit"`
|
||||
|
||||
Reference in new issue
Block a user