package Ġcom . tencent . devops . auth . resources Ċ Ċ import Ġcom . tencent . devops . auth . api . Service User Group Resource Ċ import Ġcom . tencent . devops . auth . service . Group UserService Ċ import Ġcom . tencent . devops . common . api . pojo . Result Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġorg . springframework . web . bind . annotation . RestController Ċ Ċ @ RestController Ċ class ĠService User Group Resource Impl Ġ@ Autowired Ġconstructor ( ĊĠĠĠ Ġval Ġgroup UserService : ĠGroup UserService Ċ ) Ġ: ĠService User Group Resource Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġadd User 2 Group ( userId : ĠString , ĠgroupId : ĠString ): ĠResult < Boolean > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġgroup UserService . add User 2 Group ( userId , ĠgroupId ) ĊĠĠĠ Ġ} Ċ }