06 2024 档案

摘要:注意使用http和https的区别,及时改好,不然出了问题找不好找 ocelot和consul使用时检查consul 健康监测是否ok,不然代码没问题但报错,找半天,最后是consul 健康监测没过 阅读全文
posted @ 2024-06-24 19:17 孤海飞雁 阅读(3) 评论(0) 推荐(0) 编辑
摘要:{ "DownstreamPathTemplate": "/product",// "/{matchall}",//这里使用{matchall} 并配合下面会导致多出讴歌product "DownstreamScheme": "https", // "UpstreamPathTemplate": " 阅读全文
posted @ 2024-06-24 19:12 孤海飞雁 阅读(6) 评论(0) 推荐(0) 编辑
摘要:代理identity { "DownstreamPathTemplate": "/{url}", "DownstreamScheme": "https",//这里更改就行 "DownstreamHostAndPorts": [ { "Host": "localhost", "Port": 7128 阅读全文
posted @ 2024-06-24 17:49 孤海飞雁 阅读(28) 评论(0) 推荐(0) 编辑
摘要:上图本来好好的,不知道改了哪里,最后时ocelot.json里注释时一个逗号没了,没报错,运行正常,但是控制台有问题(找到这里也找了半天,前面在其他系统一个个排查)。最后把注释的addjson 文件加上,瞬间报错。我草了啊 阅读全文
posted @ 2024-06-23 23:06 孤海飞雁 阅读(3) 评论(0) 推荐(0) 编辑
摘要:rabbitmq-plugins enable rabbitmq_management --在mq容器中访问web界面 localhost:15672 "HostName": "host.docker.internal",--docker用这个 "Port": "5672", "VirtualHos 阅读全文
posted @ 2024-06-22 13:50 孤海飞雁 阅读(3) 评论(0) 推荐(0) 编辑
摘要:环境:乌班图22 异常:执行docker-compose up -d 启动时报错 解决方法:docker compose up -dok,去掉 - 出错和修复图片如下 20240621在乌班图中,不要将项目直接放到home目录下,会导致文件读取不到,如下图的https下的文件就读取不到,放到自定义用 阅读全文
posted @ 2024-06-19 14:14 孤海飞雁 阅读(114) 评论(0) 推荐(0) 编辑
摘要:GRID 创建行和类,类似table StackPanel 从上往下 顺序排列,类似后台系统左边菜单 UniformGrid 简化版GRID ,自动宽高,自动排列。类似网页中自适应 实现数据绑定和通知 MainViewModel : INotifyPropertyChanged { private 阅读全文
posted @ 2024-06-09 18:35 孤海飞雁 阅读(5) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示