08 2021 档案

摘要:1./usr/local/redis目录下创建redis配置文件 //自定义 wget http://download.redis.io/redis-stable/redis.conf //下载redis配置文件 2.采用挂载的方式安装redis,所以需要配置redis配置文件,配置文件需要修改的地 阅读全文
posted @ 2021-08-25 13:14 coder小白 阅读(262) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/shamo89/p/8534580.html https://www.cnblogs.com/juanzila/p/11276067.html 阅读全文
posted @ 2021-08-13 11:24 coder小白 阅读(168) 评论(0) 推荐(0) 编辑
摘要://获取HttpServletRequest对象 ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();HttpServletReque 阅读全文
posted @ 2021-08-10 18:06 coder小白 阅读(1229) 评论(0) 推荐(0) 编辑
摘要:1.实现InitializingBean接口,重写afterPropertiesSet方法,将@Value赋值给成员变量的属性赋值给静态变量,示例如下: /** * @Classname FileUtil * @Description TODO * @Date 2021/8/5 14:21 * @C 阅读全文
posted @ 2021-08-08 18:33 coder小白 阅读(1146) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示