init commit

This commit is contained in:
flswld
2022-11-20 15:38:00 +08:00
parent eda2b643b9
commit 3efed3defe
5834 changed files with 636508 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package entity
type RefreshToken struct {
Rtid uint64 `gorm:"column:rtid;primary_key;auto_increment"`
Uid uint64 `gorm:"column:uid"`
Username string `gorm:"column:username"`
RefreshToken string `gorm:"column:refresh_token"`
CreateTime string `gorm:"column:create_time"`
}
func (RefreshToken) TableName() string {
return "refresh_token"
}