class ServerController {

    @RequestMapping(value = "/sync")
    public ServiceResult<String> sync(@RequestParam("id") Long id, @CurrentUser LoginUser user) throws Exception {
        Server server = serverDao.getServerById(id);
        return serverService.syncDataCenter(user, server);
    }

}