会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
文旭大人
博客园
首页
新随笔
联系
订阅
管理
[置顶]
linux服务器之间文件传输拷贝
摘要: 拷贝文件夹 把当前文件夹tempA拷贝到 目标服务器198.0.0.1 服务器的 /tmp/wang/文件夹下 scp -r /tmp/temps/ root@198.0.0.1:/tmp/wang/ 其中root是目标服务器的用户名,执行命令提示输入密码,然后输入密码即可 拷贝文件 把当前文件夹t
阅读全文
posted @ 2020-10-29 11:53 anliex
阅读(43)
评论(0)
推荐(0)
2020年10月22日
增强mybatis-plus的typeHandler,可以支持List<T> 中嵌套对象
摘要: 在使用mybatis-plus自带的json转换实体的时候自动转换成LinkHashMap然而直接使用会报强转异常,自己写了一个 首先是 BaseAttributeTypeHandler工具类 public class BaseAttributeTypeHan...
阅读全文
posted @ 2020-10-22 17:59 anliex
阅读(932)
评论(0)
推荐(0)
2020年10月21日
mysql经纬度计算距离,官方支持方法
摘要: 先看下官方文档 ST_Distance_Sphere(g1, g2 [, radius]) Returns the mimimum spherical distance between two points and/or multipoints on a ...
阅读全文
posted @ 2020-10-21 15:32 anliex
阅读(433)
评论(0)
推荐(0)
2020年9月22日
nginx配置nginx.conf中文介绍
摘要: #配置worker进程运行用户 nobody也是一个linux用户,一般用于启动程序,没有密码user nobody; #配置工...
阅读全文
posted @ 2020-09-22 18:25 anliex
阅读(19)
评论(0)
推荐(0)
2020年6月17日
git强制添加 add文件
摘要: 首先是idea新建文件没办法使用git操作add hint: Use -f if you really want to add them.hint: Turn this message off by runninghint: "git config advic...
阅读全文
posted @ 2020-06-17 17:31 anliex
阅读(435)
评论(0)
推荐(0)
2020年3月20日
springbootJpa Specification实现mysql中json字段查询
摘要: 需求 SELECT order0_.id AS id1_53_WHERE JSON_EXTRACT ( order0_.ext_obj, '$.type' ) = 1 jpa写法 predicateList.add(criteriaBuilder.equal...
阅读全文
posted @ 2020-03-20 10:21 anliex
阅读(466)
评论(0)
推荐(0)
2020年3月6日
java对list中map集合中某个字段排序
摘要: List> content = new ArrayList(); Map map = new HashMap(); map.put("sort", 2); map.put("name", "qwe"); ...
阅读全文
posted @ 2020-03-06 14:10 anliex
阅读(86)
评论(0)
推荐(0)
2019年11月21日
获取两个list中不同的元素
摘要: 高效的找出两个List中的不同元素
阅读全文
posted @ 2019-11-21 09:35 anliex
阅读(20)
评论(0)
推荐(0)
2019年10月15日
微信小程序getPhoneNumber获取手机号,解决code失效问题
摘要: 注意 在回调中调用 wx.login 登录,可能会刷新登录态。此时服务器使用 code 换取的 sessionKey 不是加密时使用的 sessionKey,导致解密失败。建议开发者提前进行 login;或者在回调中先使用 checkSession 进行登录态...
阅读全文
posted @ 2019-10-15 10:37 anliex
阅读(2190)
评论(0)
推荐(0)
2019年10月5日
ElasticSearch 报错blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];
摘要: 记服务器 首先是删除根据官方文档处理了这个问题 curl -XPUT -H "Content-Type: application/j...
阅读全文
posted @ 2019-10-05 09:12 anliex
阅读(150)
评论(0)
推荐(0)
下一页
公告