Loading

上一页 1 ··· 3 4 5 6 7
摘要: 1 /** 2 * 获取用户名 从session中 3 * 1.怎么拿到session? 不敢保证只有一个 装配不行 传参不行 4 * 5 * 通过RequestContextHolder 中的方法 可以获取的是当前请求 6 */ 7 ServletRequestAttributes request 阅读全文
posted @ 2019-06-25 09:27 mikemhm 阅读(556) 评论(0) 推荐(0) 编辑
摘要: /** * Created by mhm on 2019/6/24. */@RunWith(SpringJUnit4ClassRunner.class)public class LuceneTest { @Test public void test1() throws IOException { / 阅读全文
posted @ 2019-06-24 22:02 mikemhm 阅读(181) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7