master
黄海 5 years ago
parent e13c4ce871
commit a7bf0a0e24

@ -79,6 +79,7 @@ func (s *Rpc) AddBaseRole(ctx context.Context, in *BaseRoleProto.ModelArg) (*Bas
// 增加角色与系统的关联关系
for i := 0; i < len(in.AppIds); i++ {
model2 := new(models.TBaseRoleApp)
model2.Id=CommonUtil.GetUUID()
model2.AppId = in.AppIds[i]
model2.RoleId = model.RoleId
model2.BUse = 1

Loading…
Cancel
Save