mirror of
https://github.com/veops/oneterm.git
synced 2025-10-17 21:01:56 +08:00
feat(api): permission
This commit is contained in:
@@ -28,6 +28,7 @@ type Session struct {
|
||||
Uid int `json:"uid" gorm:"column:uid"`
|
||||
UserName string `json:"user_name" gorm:"column:user_name"`
|
||||
AssetId int `json:"asset_id" gorm:"column:asset_id"`
|
||||
Asset *Asset `json:"-" gorm:"-"`
|
||||
AssetInfo string `json:"asset_info" gorm:"column:asset_info"`
|
||||
AccountId int `json:"account_id" gorm:"column:account_id"`
|
||||
AccountInfo string `json:"account_info" gorm:"column:account_info"`
|
||||
|
Reference in New Issue
Block a user