- 博客(5)
- 收藏
- 关注
原创 阿里云短信服务
1 开通阿里云短信服务 进入管理控制台2 点开国内消息 申请签名,模板。3 引入pom <dependencies> <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.28</version
2020-09-22 15:14:54 197
原创 EasyExcel学习读写操作
1 引入pom 版本要对应<dependencies> <!-- https://mvnrepository.com/artifact/com.alibaba/easyexcel --> <dependency> <groupId>com.alibaba</groupId> <artifactId>easyexcel</artifactId>
2020-09-20 16:57:50 148
原创 Spring Security整合Jwt
spring-cloud-starter-oauth2里整合了jwt包编写JwtTokenStoreConfig 类@Configurationpublic class JwtTokenStoreConfig { @Bean public TokenStore jwtTokenStore(){ return new JwtTokenStore(jwtAccessTokenConverter()); } //转换token字符串 @Bean
2020-09-04 21:34:54 387
原创 OAuth2整合Spring Security
OAuth2整合Spring Security什么是OAuth2+代码+测试什么是OAuth2见Spring Security学习笔记代码引pom<properties> <java.version>1.8</java.version> <spring-cloud.version>Greenwich.SR2</spring-cloud.version> </properties> <dependencie
2020-09-02 22:58:26 226
原创 Element ‘dependency‘ cannot have character [children], because the type‘s content type is element-on
引入依赖出现错误:Element ‘dependency’ cannot have character [children], because the type’s content type is element-only.报错原因:元素“dependency”不能有字符[children],因为该类型的内容类型是Element only。是排版问题多加了几个空格。解决:删除多余的空格,进行排版解决...
2020-09-02 16:54:04 6359
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人