上一页 1 2 3 4 5 6 ··· 68 下一页
  2026年8月26日
摘要: 支付回调异步通知的排查及腾讯云域名解析A记录添加 # 本机Nginx转发 → upstream → Java服务,全部200curl -i http://127.0.0.1/autoPayAlipaySecondary/alipay/v3/notifyRcvHTTP/1.1 200 ✅ curl - 阅读全文
posted @ 2026-08-26 11:50 oktokeep 阅读(16) 评论(3) 推荐(0)
摘要: 1.查询服务器ipip addr# 或简写ip a hostname -i import java.net.InetAddress; ip = InetAddress.getLocalHost().getHostAddress(); 2.非回环内网IPv4 ip 修改代码: Enumeration< 阅读全文
posted @ 2026-08-26 11:46 oktokeep 阅读(4) 评论(1) 推荐(0)
摘要: 支付宝开放平台中接口加签方式(密钥或证书)可以两种同时支持吗 支付宝开放平台中接口加签方式(密钥/证书)可以两种同时支持吗?目前项目中是使用证书的方式来做的,有另外一个需求是需要使用密钥的方式,如果变更为密钥的方式,那么原来的证书会不会失效?如何解决这个问题 支付宝开放平台可以两种同时支持吗? 不可 阅读全文
posted @ 2026-08-26 11:44 oktokeep 阅读(15) 评论(0) 推荐(0)
摘要: nginx反向代理查询及更新映射的IP地址 查询域名绑定的ipnslookup m.mytesttest.comnslookup -type=A m.mytesttest.com m.mytesttest.com 的 DNS 解析到的公网 IP,就是反代链路的最外层入口。拿着这个 IP 去控制台反查 阅读全文
posted @ 2026-08-26 11:44 oktokeep 阅读(2) 评论(1) 推荐(0)
  2026年8月17日
摘要: git同时推送到不同的git仓库的方法 方案:git remote set-url --add --push origin git@19.45.13.115:auto/dockService.gitgit remote set-url --add --push origin git@14.56.20 阅读全文
posted @ 2026-08-17 11:56 oktokeep 阅读(7) 评论(1) 推荐(0)
摘要: 没执行过 git add,git代码回退方法 应用场景:借助ai工具修改代码,发现不合理的修改,需要回退代码,无需提交 没执行过 git add(最常用)直接丢弃工作区修改,回到最近一次提交的样子:# Git 2.23+ 推荐git restore . //后面是一个点号 # 单个文件git res 阅读全文
posted @ 2026-08-17 11:49 oktokeep 阅读(7) 评论(0) 推荐(0)
  2026年8月10日
摘要: linux命令批量创建tomcat logs目录 find /usr/local -type d -name "*tomcat*" | while read dir; do logs_dir="$dir/logs" if [ ! -d "$logs_dir" ]; then mkdir -p "$l 阅读全文
posted @ 2026-08-10 14:07 oktokeep 阅读(1) 评论(0) 推荐(0)
  2026年8月3日
摘要: 支付宝小程序前端returnUrl未编码会报错解决,需要加上url编码 log.info("创建免押加密请求: {}", JSON.toJSONString(encryptedRequest)); String encodedReturnUrl = returnUrl; try { encodedR 阅读全文
posted @ 2026-08-03 12:39 oktokeep 阅读(7) 评论(0) 推荐(0)
  2026年7月28日
摘要: 1.查 Tomcat 线程数ss -ant | grep 1418 | wc -l 1418是微服务端口号 ss -ant | grep 1418 | wc -l # 连接状态ss -ant | awk '{print $1}' | sort | uniq -c root@VM-2-53-cento 阅读全文
posted @ 2026-07-28 18:12 oktokeep 阅读(13) 评论(3) 推荐(0)
摘要: linux 判断服务是否在线 判断服务是否在线:# 查看是否有 ESTABLISHED 连接到该端口ss -antp | grep :1230 1230是微服务的端口号# 或netstat -antp | grep :1230tcpdump -i any port 1230 -c 1000 -nnt 阅读全文
posted @ 2026-07-28 18:10 oktokeep 阅读(11) 评论(3) 推荐(0)
上一页 1 2 3 4 5 6 ··· 68 下一页