add remove user token #34
This commit is contained in:
1 parent
095640af3f
commit
6c94566e83
15 files changed
+579
-23
No files matched your search
@@ -7,3 +7,8 @@ type UserToken struct {
|
||||
ExpiredAt int64 `json:"expired_at" gorm:"default:0;not null;"`
|
||||
TimeModel
|
||||
}
|
||||
|
||||
type UserTokenList struct {
|
||||
UserTokens []UserToken `json:"list"`
|
||||
Pagination
|
||||
}
|
||||
Reference in new issue
Block a user