优化
This commit is contained in:
@@ -67,7 +67,7 @@ type menuPO struct {
|
||||
func (menuPO) TableName() string { return "sys_base_menus" }
|
||||
|
||||
type userAuthorityPO struct {
|
||||
// GVA's explicit join model deliberately has no primary key or uniqueness
|
||||
// The reference join model deliberately has no primary key or uniqueness
|
||||
// constraint. Keep duplicate IDs representable; association replacement
|
||||
// and validation are handled by the service transaction instead.
|
||||
SysUserID uint `gorm:"column:sys_user_id"`
|
||||
|
||||
Reference in New Issue
Block a user