怎么样把ModelMap里面的数据放入Session里面?

答:可以在类上面加上@SessionAttributes注解,里面包含的字符串就是要放入session里面的key。

posted @ 2020-05-14 00:55  咔啡  阅读(1631)  评论(0)    收藏  举报