diff --git a/docs/.vitepress/configs/nav.js b/docs/.vitepress/configs/nav.js index d987081..891446b 100644 --- a/docs/.vitepress/configs/nav.js +++ b/docs/.vitepress/configs/nav.js @@ -11,6 +11,8 @@ export const nav = [ {text: "设计模式", link: "/java/designPattern/index.md"}, {text: "guava", link: "/outline/java/guava.md"}, {text: "lombok", link: "/java/utils/lombok/index.md"}, + {text: "mapStruct", link: "/java/utils/mapStruct/index.md"}, + {text: "orika", link: "/java/utils/orika/index.md"}, ], }, { diff --git a/docs/database/redis/index.md b/docs/database/redis/index.md index e44760a..6368c31 100644 --- a/docs/database/redis/index.md +++ b/docs/database/redis/index.md @@ -14,3 +14,9 @@ expire设置过期时间 incrby命令可以实现原子性的递增,所以可以运用于高并发的秒杀活动、分布式序列号的生成 - 一个手机号发多少条短信 - 一个接口一分钟限制多少请求 + + + + + + diff --git a/docs/java/framework/springboot/logback.md b/docs/java/framework/springboot/logback.md index c921fd3..0420cd3 100644 --- a/docs/java/framework/springboot/logback.md +++ b/docs/java/framework/springboot/logback.md @@ -146,4 +146,7 @@ public void handleRequest(String requestId) { - %logger{36} 表示日志记录器的名字,其中 {36} 表示最大宽度为 36 个字符 - %cyan{...} 用于改变日志输出中特定部分的颜色,使其以青色(cyan)显示 - %msg%n:这部分表示日志消息和换行符,%msg 表示实际的日志消息文本,而 %n 表示换行符。 -%black{控制台} %red{%d{yyyy-MM-dd HH:mm:ss.SSS}} %green{[ %thread ]} %highlight{%-5level} %boldMagenta{[%logger{36}]} - %cyan{%msg%n} \ No newline at end of file +%black{控制台} %red{%d{yyyy-MM-dd HH:mm:ss.SSS}} %green{[ %thread ]} %highlight{%-5level} %boldMagenta{[%logger{36}]} - %cyan{%msg%n} +- %method:输出调用日志记录方法的方法名。 +- %line:输出调用日志记录方法所在的行号。 +- %file:输出调用日志记录方法所在的文件名。 \ No newline at end of file diff --git a/docs/java/utils/mapStruct/index.md b/docs/java/utils/mapStruct/index.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/java/utils/orika/index.md b/docs/java/utils/orika/index.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/public/latestMdFiles.json b/docs/public/latestMdFiles.json index cccfef9..3f343b5 100644 --- a/docs/public/latestMdFiles.json +++ b/docs/public/latestMdFiles.json @@ -1,12 +1,12 @@ [ + "docs/database/redis/index.md", + "docs/java/framework/springboot/logback.md", "README.md", "docs/database/redis/redis-benchmark.md", "docs/java/basic/basic.md", "docs/java/designPattern/behavioral/observer.md", "docs/java/framework/jetcache/index.md", "docs/java/framework/springboot/log/logback/index.md", - "docs/java/framework/springboot/logback.md", "docs/java/utils/Caffeine/index.md", - "docs/java/utils/lombok/annotations/Builder.md", - "docs/java/utils/lombok/annotations/Generated.md" + "docs/java/utils/lombok/annotations/Builder.md" ] \ No newline at end of file