
粗记
迟到的二货
~~~~~~~~
展开
-
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 · 151 阅读 · 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 · 197 阅读 · 0 评论 -
2018-12-19粗记
502 bad gatewayeuraka1.eureka.client.register-with-eureka = true2.@EnableDiscoveryClient3.apollo.bootstrap.enabled = true4.app.id=****5.公共的配置接euraka使用 Zuul 实现 API Gateway 的路由和过滤 ( Routing and F...原创 2018-12-21 10:25:39 · 114 阅读 · 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 · 264 阅读 · 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 · 1266 阅读 · 0 评论 -
指定时间内不能重复参数请求
/** * 指定缓存失效时间 * * @param keys 键 * @return */@Transactionalpublic boolean isExistMd5Key(Long timeout, Object... keys) { if (timeout == null) { timeout = 60L; } StringBuffer ...原创 2019-07-31 15:31:43 · 430 阅读 · 0 评论