• 首页
  • 关于我

5 月, 2019

mac下更新DNS缓存

更新缓存 sudo dscacheutil -flushcache 查看缓存 nslookup baidu.c... » 阅读全文

0
阅读
springboot微信小程序用户敏感信息解密获取unionId

springboot微信小程序用户敏感信息解密获取unionId。因为在不同平台中,openId可能会不同,只有unionId能唯一确认一个用户。需要解密微信的敏感信息才能得到用户的唯一标识 unionId。这里使用 springboot 来完成这个过程。

0
阅读
使用pm2守护springboot进程
使用pm2守护springboot进程

在跟朋友聊Node.js运维的过程中,看了下pm2,发现有人说这个东西可以用来守护php的命令行。那么我估计s... » 阅读全文

0
阅读
记录一个springboot的启动脚本

因为需要使用jenkins做自动部署,所以写了个脚本来启动springboot,主要功能是备份下原来的jar,... » 阅读全文

0
阅读
一次磁盘空间不足的排查和解决
一次磁盘空间不足的排查和解决

运营反应系统报错,经过排查,发现有一个数据库服务器的磁盘空间满了。 按理说各种日志之类的清理什么的,应该都有做... » 阅读全文

0
阅读
Got fatal error 1236 from master when reading data from binary log: ‘Could not find first log file name in binary log index file’

主库添加log-bin-index 参数后,从库报这个错误:Got fatal error 1236 from... » 阅读全文

0
阅读
springboot中跨域和OPTIONS请求处理

跨域请求比较简单,在WebMvcConf中添加配置即可 但是,在复杂请求,例如PUT请求和DELETE请求过程... » 阅读全文

0
阅读
在springboot中添加拦截器

创建拦截器TestInterceptor.java @Component public class TestI... » 阅读全文

0
阅读
使用springboot的RestTemplate获取微信二维码

tokenService中access_token的获取方法

0
阅读
ICP备案号:京ICP备19022186号
著作权 © 2025 C君的代码备忘. 保留一切权利。 本站采用的布景主题为 Mynote.