class ServerGroupController {

    @RequestMapping(value = "/sync")
    public ServiceResult<String> sync(@RequestParam("id") Long id, @CurrentUser LoginUser user) throws Exception {
        ServerGroup serverGroup = serverGroupDaoOld.getServerGroupById(id);
        return serverGroupService.syncDataCenter(user, serverGroup);
    }

}