add remove user token #34

This commit is contained in:
ljw
2024-10-31 22:29:12 +08:00
parent 5edbb39a63
commit 273ac6d1a8
15 changed files with 579 additions and 23 deletions
+5
View File
@@ -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
}