@Slf4j
@RestController
@RequestMapping("/h5/special/index.html")
public class ShareRedirect {
@GetMapping("/{id}")
@Priv(login = false)
public ModelAndView Redirect (@PathVariable Long id){
return new ModelAndView(new RedirectView("www.baidu.com"));
}
}
Controller跳转到外部链接
最新推荐文章于 2023-05-06 13:07:46 发布