重构白银节点分配方式,使用手动接口精确配置节点
This commit is contained in:
@@ -16,7 +16,7 @@ type LogsLogin struct {
|
||||
UserID *int32 `json:"user_id" gorm:"column:user_id"` // 用户ID
|
||||
Time time.Time `json:"time" gorm:"column:time"` // 登录时间
|
||||
|
||||
User *User `json:"user" gorm:"foreignKey:UserID"`
|
||||
User *User `json:"user,omitempty" gorm:"foreignKey:UserID"`
|
||||
}
|
||||
|
||||
// GrantType 授权类型枚举
|
||||
|
||||
Reference in New Issue
Block a user