From 66b29173008525b3d7712b7a6cea7d15a4988627 Mon Sep 17 00:00:00 2001 From: ClovertaTheTrilobita Date: Wed, 16 Apr 2025 14:06:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E6=BC=8F=E6=B4=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + src/main/resources/application.properties.example | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 src/main/resources/application.properties.example diff --git a/.gitignore b/.gitignore index 549e00a..e9f52f6 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,4 @@ build/ ### VS Code ### .vscode/ +src/main/resources/application.properties.example \ No newline at end of file diff --git a/src/main/resources/application.properties.example b/src/main/resources/application.properties.example new file mode 100644 index 0000000..ae15036 --- /dev/null +++ b/src/main/resources/application.properties.example @@ -0,0 +1,6 @@ +spring.application.name=webapi +spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver +spring.datasource.url=jdbc:mysql://localhost:3306/web_api?useUnicode=true&characterEncoding=utf8 +spring.datasource.username=root +spring.datasource.password=123456 +server.port = 8888 \ No newline at end of file