@ResponseBody @RequestMapping(value="/group_members",method=RequestMethod.POST) public HttpResponseTemp<?> addGroupMember(@RequestBody UserGroupMap userGroup){
  int userId=AuthUtil.getUserId();
  userGroup.setUpdateTime(System.currentTimeMillis());
  return userGroupService.addGroupMember(userId,userGroup);
}

@ ResponseBody @ RequestMapping ( value = "/group_members" , method = RequestMethod . POST ) public HttpResponseTemp < ? > addGroupMember ( @ RequestBody UserGroupMap userGroup ) { int userId = AuthUtil . getUserId ( ) ; userGroup . setUpdateTime ( System . currentTimeMillis ( ) ) ; return userGroupService . addGroupMember ( userId , userGroup ) ; }
post body is { " group_id " : groupid , " user_id " : userid , " role " : " # roletype " }
