mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 04:30:05 +00:00
feat: Token生成|存储|验证
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type ApiToken struct {
|
||||
Common
|
||||
UserId uint64 `json:"user_id"`
|
||||
Token string `json:"token"`
|
||||
TokenExpired time.Time `json:"token_expired"`
|
||||
UserID uint64 `json:"user_id"`
|
||||
Token string `json:"token"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user