摘要: 1.添加依赖(可能下载包的时候会遇到和其他包有冲突的问题,将版本降低就可以完美解决) <!-- swagger依赖--> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> 阅读全文
posted @ 2020-04-24 12:01 无畏迎风 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 1.在SpringBoot中,通过jasypt可以进行加密解密. 这个是双向的, 且可以配置密钥. 2.添加依赖 <dependency> <groupId>com.github.ulisesbocchio</groupId> <artifactId>jasypt-spring-boot</arti 阅读全文
posted @ 2020-04-21 10:00 无畏迎风 阅读(1337) 评论(0) 推荐(0) 编辑
摘要: 说明:本文部分内容来自https://github.com/a982338665/Spring-Boot/blob/master 本文案例源码:https://github.com/wind-free/spring-cloud/tree/master 一、搭建一个父级工程 1)File——>New— 阅读全文
posted @ 2020-04-07 15:37 无畏迎风 阅读(9897) 评论(0) 推荐(0) 编辑
摘要: 1.js方法封装 MC.upperCase=function chang(domId){ $(domId).on("input propertychange",function(){ var a=$(this).val(); a=a.toUpperCase(); $(domId).val(a) }) 阅读全文
posted @ 2020-01-14 17:38 无畏迎风 阅读(1616) 评论(0) 推荐(0) 编辑
摘要: 1.File-->settings..或者按快捷键Ctrl+Alt+S,如图: 2.在editor下有个 File Types或者搜索File Types,如图 3.在lgnore files and folesrs中输入*.iml;.idea;注意要";"结尾,(注*.xxx;格式为文件,.xxx 阅读全文
posted @ 2020-01-07 15:23 无畏迎风 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 1.利用快捷键Ctrl+Alt+S打开工具设置,进行一下配置 2.设置成功后回到项目实体利用快捷键alt+enter点击就可以自动生成了,如图所示 阅读全文
posted @ 2019-12-30 11:01 无畏迎风 阅读(750) 评论(0) 推荐(0) 编辑
摘要: 插件安装步骤:File->Settings->Plugins—>查找所需插件—>Install 或 File->Settings->Plugins—>Install plug from disk —>选择下载好的插件安装 一般插件安装后重启idea即可生效。 一、Java bean 转换 json  阅读全文
posted @ 2019-10-30 18:05 无畏迎风 阅读(27157) 评论(0) 推荐(1) 编辑
摘要: 第一步在pom.xml文件中添加依赖 <!-- springboot 热部署 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <sco 阅读全文
posted @ 2019-10-28 14:30 无畏迎风 阅读(10025) 评论(0) 推荐(0) 编辑
摘要: sout System.out.println() fori for循环 iter foreach循环 itit 遍历Iterator itli 遍历List,反正it打头的是遍历xxx psvm main方法,它这个用的是单词首字母,像静态常量方法可以敲psf pi hashCode方法 ps t 阅读全文
posted @ 2019-10-18 16:07 无畏迎风 阅读(696) 评论(0) 推荐(1) 编辑
摘要: 一、卸载linux自带的mysql 使用如下命令检查是否安装有MySQL Server rpm -qa | grep mysql 有的话则通过如下命令卸载 rpm -e mysql //普通删除模式 rpm -e --nodeps mysql // 强力删除模式,如果使用上面命令删除时,提示有依赖的 阅读全文
posted @ 2018-09-17 16:47 无畏迎风 阅读(289) 评论(0) 推荐(0) 编辑