会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
沟渠映明月
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
21
下一页
2021年6月11日
操作docker镜像配置文件
摘要: 进入docker镜像内部 docker exec -it 镜像id(docker ps) bash 如果无法使用vim命令,需要执行apt-get update 和 apt-get install vim 重启镜像docker update --restart=always <CONTAINER I
阅读全文
posted @ 2021-06-11 00:20 沟渠映明月
阅读(297)
评论(0)
推荐(0)
2021年6月5日
Spirng Cloud Gateway中通过Spring security + WebFlux 实现权限认证
摘要: 先做配置 下面是配置需要用到的类 自定义filter 权限校验manager 有用过shiro的同学应该知道,除了鉴权还可以验证角色,查看图一的入参方法,可以找到校验角色的功能,并且可以看到我们只需要实现对应的接口并加入到配置中即可 可以看到实现的是 ReactiveAuthorizationMan
阅读全文
posted @ 2021-06-05 17:55 沟渠映明月
阅读(1399)
评论(0)
推荐(0)
2021年5月23日
对接钉钉API踩过的坑
摘要: 1.调用批量发送单聊消息接口 2.调用场景群发送钉钉交互式动态卡片 (1)先是返回了错误提示-需要我开通智能人事的权限,第二天发现申请智能人事权限审核失败,又尝试再次调用了接口,居然通了!!! (2)接口通了后返回机器人不存在的错误id,但我所使用的场景群机器人id在调用场景群发送普通消息接口时是没
阅读全文
posted @ 2021-05-23 11:26 沟渠映明月
阅读(1386)
评论(0)
推荐(0)
2021年5月10日
MySQL与PostgreSQL对比
摘要: https://zhuanlan.zhihu.com/p/46405604
阅读全文
posted @ 2021-05-10 10:55 沟渠映明月
阅读(78)
评论(0)
推荐(0)
2021年4月16日
Elastic Job3.0
摘要: demo 添加依赖 <dependency> <groupId>org.apache.shardingsphere.elasticjob</groupId> <artifactId>elasticjob-lite-core</artifactId> <version>3.0.0-alpha</ver
阅读全文
posted @ 2021-04-16 01:03 沟渠映明月
阅读(729)
评论(0)
推荐(0)
2021年3月30日
Nacos Config动态刷新值
摘要: 1.通过@Value 和@RefreshScope实现动态刷新 2.将动态刷新的值放到自定义配置文件中,通过@ConfigurationProperties(prefix="user")和@EnableConfigurationProperties({UserProperties.class})实现
阅读全文
posted @ 2021-03-30 16:27 沟渠映明月
阅读(2004)
评论(0)
推荐(0)
clickhouse数据类型
摘要: UInt8,UInt16,UInt32,UInt64,Int8,Int16,Int32,Int64: 固定长度的整型,包括有符号整型或无符号整型 整型范围 * Int8-[-128:127] * Int16-[-32768:32767] * Int32-[-2147483648:2147483647
阅读全文
posted @ 2021-03-30 16:24 沟渠映明月
阅读(1255)
评论(0)
推荐(0)
shardingJDBC精准分片
摘要: shardingJDBC不同表名分片方式 引入pom依赖 <dependency> <groupId>org.apache.shardingsphere</groupId> <artifactId>sharding-jdbc-spring-boot-starter</artifactId> <ver
阅读全文
posted @ 2021-03-30 16:13 沟渠映明月
阅读(28)
评论(0)
推荐(0)
2020年10月20日
zookeeper集群搭建
摘要: 下载zookeeper压缩文件并解压到服务器,tar -xzvf apache-zookeeper-3.6.2-bin 先在目录下创建data,dataLog文件夹,再将conf目录下的zoo-exmple.cfg修改为zoo.cfg 修改里面的配置 dataDir=/usr/tools/zooke
阅读全文
posted @ 2020-10-20 12:01 沟渠映明月
阅读(144)
评论(0)
推荐(0)
Failed to bind properties under 'spring.datasource.druid' to javax.sql.DataSource
摘要: springboot集成druid启动时报错,日志框架用的是log4j2,配置文件就是官网的配置没有改动,启动时报如下错误 Failed to bind properties under 'spring.datasource.druid' to javax.sql.DataSource: Prope
阅读全文
posted @ 2020-10-20 11:31 沟渠映明月
阅读(3056)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
21
下一页
公告