1.return new ModelAndView(new RedirectView("https://www.baidu.com"));

2.return  "redirect:https://www.baidu.com/";