From d597268fbf936c8ef2dcfdfefe4567b1020fb59f Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期一, 01 六月 2026 11:06:35 +0800
Subject: [PATCH] fix:objectMapper 忽视全局未知字段
---
src/main/resources/application.yml | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 87fceb2..63fe8c2 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,5 +1,8 @@
# Spring閰嶇疆
spring:
+ jackson:
+ date-format: yyyy-MM-dd HH:mm:ss
+ time-zone: GMT+8
main:
allow-circular-references: true
profiles:
@@ -38,4 +41,5 @@
model-name: "deepseek-r1:1.5b"
log-requests: true
log-responses: true
-
+knowledge:
+ one: D:\鏂扮枂澶х綏绱犱紒涓氫骇鍝佷綋绯昏鏄庢枃妗�.md
--
Gitblit v1.9.3