上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: 关于jwt <dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt</artifactId> <version>0.9.1</version></dependency> 配置 keyprivate static final S 阅读全文
posted @ 2020-05-19 09:29 liuxm-刘小明 阅读(265) 评论(0) 推荐(0) 编辑
摘要: spring boot 使用filter 实现跨域请求 1.请求处理流程 Filter->DispatcherServlet->Intercepter->Controller 2.配置扫描filter 在SpringBootApplication上使用@ServletComponentScan注解后 阅读全文
posted @ 2020-05-18 11:04 liuxm-刘小明 阅读(2738) 评论(0) 推荐(0) 编辑
摘要: SpringBoot操作excel示例 1.添加pom引用 <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>3.17</version> </dependency> <depen 阅读全文
posted @ 2020-04-02 19:19 liuxm-刘小明 阅读(3843) 评论(0) 推荐(0) 编辑
摘要: 1.src/main/resources/application.properties #服务端口 server.port=8080 #应用名称 spring.application.name=appdemo spring.thymeleaf.enabled=true spring.thymelea 阅读全文
posted @ 2020-03-31 09:13 liuxm-刘小明 阅读(323) 评论(0) 推荐(0) 编辑
摘要: springboot中集成quzrtz ,持久到mongodb 1.pom引用 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://ww 阅读全文
posted @ 2019-12-11 12:11 liuxm-刘小明 阅读(2093) 评论(1) 推荐(0) 编辑
摘要: 官网文档http://www.quartz-scheduler.org/documentation/quartz-2.2.2/ 使用参考文档https://www.w3cschool.cn/quartz_doc/quartz_doc-h4ux2cq6.htmlhttps://www.cnblogs. 阅读全文
posted @ 2019-12-09 11:14 liuxm-刘小明 阅读(165) 评论(0) 推荐(0) 编辑
摘要: pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apac 阅读全文
posted @ 2019-12-06 10:43 liuxm-刘小明 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 1、检查工具是否安装,如果未安装则使用yum安装 #htpasswd 有以上输出表示已经安装,如果没有按装,使用如下命令安装: #yum -y install httpd-tools 2、htpasswd命令选项参数说明-c 创建一个加密文件-n 不更新加密文件,只将htpasswd命令加密后的用户 阅读全文
posted @ 2019-11-28 13:41 liuxm-刘小明 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 1.pom文件 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apac 阅读全文
posted @ 2019-11-28 11:22 liuxm-刘小明 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 实现过滤器很简单,只需要继承ZuulFilter,并实现ZuulFilter中的抽象方法。 filterType():定义过滤器的类型,它有4种类型,分别是pre、post、routing和errorfilterOrder():过滤顺序,它是一个Int类型的值,值越小,越早执行该过滤器shouldF 阅读全文
posted @ 2019-11-28 11:12 liuxm-刘小明 阅读(903) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页