@restcontroller直接跳转页面

return "<meta http-equiv='refresh' content=0;URL='https://www.baidu.com/'>";

或者

return "<meta http-equiv='refresh' content=0;URL='/index'>";

猜你喜欢

转载自blog.csdn.net/lightofsms/article/details/80222398