摘要: { "id": "consulService-192.168.200.132-8500", "name": "consulService", "address": "192.168.200.132", "port": 8500 } 接口地址 /v1/agent/service/register 阅读全文
posted @ 2024-04-26 14:40 liliyou 阅读(1) 评论(0) 推荐(0) 编辑
摘要: java中的实体类用到了LocalDateTime 类型。在转换时候报错Error attempting to get column ‘XXX’ from result set. Cause: java.sql. 解决方法最为简单。是因为com.alibaba 的版本问题。 切换版本号到1.1.22 阅读全文
posted @ 2024-04-24 15:06 liliyou 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 所有依赖 <Project Sdk="Microsoft.NET.Sdk.Web"> <PropertyGroup> <TargetFramework>net8.0</TargetFramework> <Nullable>enable</Nullable> <ImplicitUsings>enabl 阅读全文
posted @ 2024-04-03 14:58 liliyou 阅读(5) 评论(0) 推荐(0) 编辑
摘要: openssl x509 -in .\apiclient_cert.pem -noout -serial 阅读全文
posted @ 2024-03-01 08:19 liliyou 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 主库配置 # Binary Logging. # log-bin log-bin=mysql-bin #[必须]启用二进制日志 # Error Logging. log-error="mysql-error.log" # Server Id. server-id=200 #不同步的数据库,可设置多个 阅读全文
posted @ 2023-12-26 11:24 liliyou 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 1、使用 docker run 命令运行时 增加 --restart=always 参数即可 2、使用 docker-compose 命令运行时 在 yml 文件中,需要自启动的 service 下 增加 restart: always 项目即可 3、已运行的容器修改其自启动策略 执行命令: doc 阅读全文
posted @ 2023-08-23 11:04 liliyou 阅读(89) 评论(0) 推荐(1) 编辑
摘要: :args *.txt *.cpp :argdo %s/hate/love/gc | update 阅读全文
posted @ 2021-07-25 10:18 liliyou 阅读(49) 评论(0) 推荐(1) 编辑
摘要: 解决方案 推送数据结构如下: "ios": { "alert": { "title" : "JPush Title", "subtitle" : "JPush Subtitle", "body" : "JPush Body" }, "sound": "default", "badge": "+1", 阅读全文
posted @ 2021-01-14 17:28 liliyou 阅读(271) 评论(0) 推荐(0) 编辑
摘要: https://mirrors.cloud.tencent.com/gradle/ 阅读全文
posted @ 2021-01-05 13:42 liliyou 阅读(1967) 评论(0) 推荐(0) 编辑
摘要: 1,TextBlock 作用:适合长文本多行显示,Label可以看成是一个简短的单行的TextBlock,只是Label可以显示图片,TextBlock只能显示纯文本 关键属性:Text <TextBlock Width="50" Height="50" TextAlignment="Center" 阅读全文
posted @ 2020-10-01 17:18 liliyou 阅读(568) 评论(0) 推荐(0) 编辑