|
|
|
@ -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
|
|
|
|
|