From e38a6994216c6db9cf0b08026f2f97a20381b6b3 Mon Sep 17 00:00:00 2001 From: damonyuan <404054358@qq.com> Date: Fri, 11 Oct 2024 00:50:41 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E6=94=B9=E4=B8=BA=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E4=B8=8B=E5=88=92=E7=BA=BF=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../like-admin/src/main/resources/application-dev-example.yml | 2 ++ .../like-front/src/main/resources/application-dev-example.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/server/like-admin/src/main/resources/application-dev-example.yml b/server/like-admin/src/main/resources/application-dev-example.yml index 77e87313..34df7fcb 100644 --- a/server/like-admin/src/main/resources/application-dev-example.yml +++ b/server/like-admin/src/main/resources/application-dev-example.yml @@ -5,6 +5,8 @@ like: # 框架配置 spring: + jackson: + property-naming-strategy: SNAKE_CASE # 数据源配置 datasource: url: jdbc:mysql://localhost:3306/【库名称】?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false diff --git a/server/like-front/src/main/resources/application-dev-example.yml b/server/like-front/src/main/resources/application-dev-example.yml index f036cf79..6bc1cb96 100644 --- a/server/like-front/src/main/resources/application-dev-example.yml +++ b/server/like-front/src/main/resources/application-dev-example.yml @@ -4,6 +4,8 @@ like: # 框架配置 spring: + jackson: + property-naming-strategy: SNAKE_CASE # 数据源配置 datasource: url: jdbc:mysql://localhost:3306/【库名称】?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false