晨风

-------------------- 业精于勤,荒于嬉;行成于思,毁于随

导航

2021年2月3日

摘要: 1) 文件内全部替换: :%s#abc#123#g (如文件内有#,可用/替换,:%s/abc/123/g) --注:把abc替换成123 (或者: %s/str1/str2/g 用str2替换文件中所有的str1) 2) 文件内局部替换: :20,30s#abc#123(如文件内有#,可用/替换, 阅读全文

posted @ 2021-02-03 14:59 shenyixin 阅读(613) 评论(0) 推荐(1) 编辑

摘要: 1、依赖 ​ POM <!-- spring boot redis 缓存引入 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifa 阅读全文

posted @ 2021-02-03 10:05 shenyixin 阅读(495) 评论(0) 推荐(0) 编辑