增加用户组功能

This commit is contained in:
dushixiang
2021-01-17 00:39:39 +08:00
parent 11c1ac23e4
commit a0610b8ce0
14 changed files with 741 additions and 45 deletions

View File

@ -0,0 +1,11 @@
package model
type UserGroupMember struct {
ID string `gorm:"primary_key" json:"name"`
UserId string `json:"userId"`
UserGroupId string `json:"userGroupId"`
}
func (r *UserGroupMember) TableName() string {
return "user_group_members"
}