![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
粗记
迟到的二货
~~~~~~~~
展开
-
2018-12-12粗记
/** * 根据模板id获取文件发送内容 *@param tplId */ private String getContentsTpl(Integer tplId,String contents){ EmailTemplate emailTpl = emailTplDao.selectById(tplId); String textContent="&l...原创 2018-12-12 15:43:00 · 125 阅读 · 0 评论 -
2018-1129
ERROR c.n.d.DiscoveryClient - DiscoveryClient_MSGCENTER-SVR/LT5CG8113TKD.fareast.nevint.com:msgcenter-svr:30101 - was unable to refresh its cache! status = Cannot execute request on any known serv...原创 2018-12-03 15:34:16 · 168 阅读 · 0 评论 -
2018-12-19粗记
502 bad gateway euraka 1.eureka.client.register-with-eureka = true 2.@EnableDiscoveryClient 3.apollo.bootstrap.enabled = true 4.app.id=**** 5.公共的配置接euraka 使用 Zuul 实现 API Gateway 的路由和过滤 ( Routing and F...原创 2018-12-21 10:25:39 · 94 阅读 · 0 评论 -
218-12-18粗记
Result result = JsonHelper.parseToObject(json, Result.class); Error:(625, 22) java: 无法从静态上下文中引用非静态 变量 this <dependency> <groupId>com.nio.platform</groupId> <artifactId>...原创 2018-12-19 09:19:36 · 228 阅读 · 0 评论 -
git上统计代码行数
git log --author=“yanli.zhang” --pretty=tformat: --numstat --date=iso --since=2019-06-01 --until=2019-07-15 | awk ‘{ add += $1 ; subs += $2 ; loc += $1 + $2 } END { printf “added lines: %s removed lin...原创 2019-07-16 23:29:33 · 1226 阅读 · 0 评论 -
指定时间内不能重复参数请求
/** * 指定缓存失效时间 * * @param keys 键 * @return */ @Transactional public boolean isExistMd5Key(Long timeout, Object... keys) { if (timeout == null) { timeout = 60L; } StringBuffer ...原创 2019-07-31 15:31:43 · 383 阅读 · 0 评论