fix
This commit is contained in:
parent
01b6046d5a
commit
2fa8955aa4
|
@ -12,7 +12,6 @@ type LdapApis struct {
|
||||||
Path *string `gorm:"default:'';" json:"path"` //
|
Path *string `gorm:"default:'';" json:"path"` //
|
||||||
Category *string `gorm:"default:'';" json:"category"` //
|
Category *string `gorm:"default:'';" json:"category"` //
|
||||||
Remark *string `gorm:"default:'';" json:"remark"` //
|
Remark *string `gorm:"default:'';" json:"remark"` //
|
||||||
Creator *string `gorm:"default:'';" json:"creator"` //
|
|
||||||
Ctime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"ctime"` //
|
Ctime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"ctime"` //
|
||||||
Utime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"utime"` //
|
Utime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"utime"` //
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,6 @@ type LdapGroup struct {
|
||||||
Remark *string `gorm:"default:'';" json:"remark"` //
|
Remark *string `gorm:"default:'';" json:"remark"` //
|
||||||
Status *int64 `gorm:"default:1;" json:"status"` // 1正常, 2禁用
|
Status *int64 `gorm:"default:1;" json:"status"` // 1正常, 2禁用
|
||||||
Sort *int64 `gorm:"default:999;" json:"sort"` // 分组排序(排序越大权限越低, 不能查看比自己序号小的角色, 不能编辑同序号用户权限, 排序为1表示超级管理员)
|
Sort *int64 `gorm:"default:999;" json:"sort"` // 分组排序(排序越大权限越低, 不能查看比自己序号小的角色, 不能编辑同序号用户权限, 排序为1表示超级管理员)
|
||||||
Creator *string `gorm:"default:'';" json:"creator"` //
|
|
||||||
Ctime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"ctime"` //
|
Ctime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"ctime"` //
|
||||||
Utime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"utime"` //
|
Utime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"utime"` //
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,6 @@ type LdapMenus struct {
|
||||||
Sort *int64 `gorm:"default:999;" json:"sort"` // 菜单顺序(1-999)
|
Sort *int64 `gorm:"default:999;" json:"sort"` // 菜单顺序(1-999)
|
||||||
Status *int64 `gorm:"default:1;" json:"status"` // 菜单状态(正常/禁用, 默认正常)
|
Status *int64 `gorm:"default:1;" json:"status"` // 菜单状态(正常/禁用, 默认正常)
|
||||||
ParentId *int64 `gorm:"default:0;" json:"parent_id"` // 父菜单编号(编号为0时表示根菜单)
|
ParentId *int64 `gorm:"default:0;" json:"parent_id"` // 父菜单编号(编号为0时表示根菜单)
|
||||||
Creator *string `gorm:"default:'';" json:"creator"` //
|
|
||||||
Ctime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"ctime"` //
|
Ctime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"ctime"` //
|
||||||
Utime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"utime"` //
|
Utime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"utime"` //
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user