会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Unionline
世界上有10种人,一种懂二进制,另一种不懂二进制。
unionline
首页
新随笔
联系
管理
02 2021 档案
nginx配置来获取用户真实IP(实测有效)
摘要:1 前言 nginx配置,网上资料各种各样,看得头晕,有时还无效。记录使用。 2 配置 编辑/etc/nginx/nginx.conf 新增代码如下: http { ## # Basic Settings ## #获取真实ip proxy_set_header Host $host; proxy_s
阅读全文
posted @
2021-02-25 17:57
unionline
阅读(1788)
评论(1)
推荐(0)
编辑
抖音小店(抖店)Java restTemplate 提示param_json非json格式,请检查!
摘要:1 前言 url如下: https://openapi-fxg.jinritemai.com/product/list?app_key=691484656896&method=product.list&access_token=f907b16f-20a-84bd-d816aa64d0a0¶m
阅读全文
posted @
2021-02-25 16:15
unionline
阅读(1257)
评论(0)
推荐(0)
编辑
非常规解决方案之Cause: java.lang.IllegalArgumentException: Result Maps collection already contains value
摘要:1 前言 本地项目打包正常,放到服务器(Ubuntu18.04)运行出现错误。 URL [jar:file:/root/depoly/example-api.jar!/BOOT-INF/lib/example-common-2.5.0.jar!/mapper/vd/InstanceDao.xml]'
阅读全文
posted @
2021-02-25 12:10
unionline
阅读(1657)
评论(0)
推荐(0)
编辑
遍历指定文件夹内文件并拼接到一起到指定文件中
摘要:1 前言 遍历指定文件夹内文件并拼接到一起到指定文件中。仅作记录使用。 2 代码 public static ArrayList<String> joinFiles(String destDir,String destFile) { ArrayList<String> files = getFold
阅读全文
posted @
2021-02-25 10:09
unionline
阅读(175)
评论(0)
推荐(0)
编辑
nginx验证微信文件(linux服务器添加校验文件)
摘要:把txt文件上传到指定目录,nginx配置访问静态校验文件 : verify.conf location /OiHVjAiPc2.txt { alias /home/wwwroot/xxx/OiH123iPc2.txt; } 使之生效 /usr/sbin/nginx -s reload
阅读全文
posted @
2021-02-04 15:20
unionline
阅读(2810)
评论(0)
推荐(0)
编辑
公告
点击右上角即可分享