![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
maven
苏雨丶
擅长主流开源框架源码
展开
-
springboot 整合websocket 站内消息 (支持广播式和只给一人发送)单独信息发送 信息群发 统计连接数
线上客户端地址:http://www.niezhiliang.com:8086/index线上服务端地址:http://www.niezhiliang.com:8086/admin第一步:使用org.springframework.web.socket.server.standard.ServerEndpointExporter.ServerEndpointExporter类。在Spring容器中...原创 2018-01-03 11:27:37 · 9743 阅读 · 11 评论 -
java 使用sdk接入支付宝扫描当面付 扫描二维码支付,退款以及退款查询 封装好了直接用就行
项目地址: https://github.com/niezhiliang/alipay 首先把项目clone下来,把application.yml下面的参数该改的都改了,项目里面有个pic文件夹 里面记录了我调试时所得到支付宝给的返回值以及访问我写的controller返回的值 可以根据你自己需求去改二维码生成接口127.0.0.1:10086/qrcode?totalAmount=0...原创 2018-05-18 17:34:01 · 5343 阅读 · 8 评论 -
微信第三方登录redirect_uri 参数错误
微信第三方登录先说解决方案:redirect_uri 参数错误在开放平台设置好回调地址,例如地址是 www.niezhiliang.com 那么在生成二维码的时候回调只能写该域名下的地址在申请二维码页面回调地址(你的redirect_uri) 还必须加上http或者https,还必须进行转码操作平常我们是http://www.niezhiliang/callback 必须转成这...原创 2018-08-17 20:51:27 · 18513 阅读 · 2 评论 -
Springboot配置https证书 ssl
1.准备一份xxx.jks的证书一份,放置resources目录下2.在application.yml配置证书的一些参数,以及项目的http端口和https接口 配置如下: server: #https监听端口 port: 8989 custom: #http监听端口 httpPort: 8898...原创 2018-11-13 15:54:46 · 9446 阅读 · 1 评论 -
SpringBoot热部署自动重启 spring-boot-devtools
IDEA springboot项目热部署设置1.首先项目pom.xml依赖 spring-boot-devtoolspom依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</...原创 2018-11-13 15:58:31 · 2998 阅读 · 0 评论 -
docker搭建maven私服 nexus
项目地址:https://github.com/niezhiliang/maven-nexus-docker1.首先下载nexus镜像并把私服跑起来运行build-image.sh下载镜像 ./build-image.sh将nexus运行起来 //在项目根目录下执行 docker-compose up -d2.打开浏览器登录进私服默认密码是 admin 密码是 a...原创 2018-11-30 14:13:05 · 259 阅读 · 0 评论