From 57700f48fc164dc8f5ae2ec030fb3194e0505b17 Mon Sep 17 00:00:00 2001
From: Devli <5003188+lide1202@user.noreply.gitee.com>
Date: Fri, 30 May 2025 10:13:44 +0800
Subject: [PATCH] update quick start
---
doc/docs/guide/quicklyDistribution.md | 4 ++--
doc/docs/guide/quicklySeparate.md | 4 ++--
doc/docs/guide/quicklySource.md | 4 ++--
.../{bootstrap.yml => application.yml} | 0
.../src/main/resources/bootstrap-dev.yml | 17 -----------------
.../src/main/resources/bootstrap-prod.yml | 6 ------
6 files changed, 6 insertions(+), 29 deletions(-)
rename report-core/src/main/resources/{bootstrap.yml => application.yml} (100%)
delete mode 100644 report-core/src/main/resources/bootstrap-dev.yml
delete mode 100644 report-core/src/main/resources/bootstrap-prod.yml
diff --git a/doc/docs/guide/quicklyDistribution.md b/doc/docs/guide/quicklyDistribution.md
index 6f85cac7..e8e42226 100644
--- a/doc/docs/guide/quicklyDistribution.md
+++ b/doc/docs/guide/quicklyDistribution.md
@@ -30,9 +30,9 @@
```yaml
datasource:
- url: jdbc:mysql://10.108.26.197:3306/aj_report?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
+ url: jdbc:mysql://127.0.0.1:3306/aj_report?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
username: root
- password: appuser@anji
+ password: xxxxxxxx
```
## flyway
diff --git a/doc/docs/guide/quicklySeparate.md b/doc/docs/guide/quicklySeparate.md
index 4ee94882..4d028c98 100644
--- a/doc/docs/guide/quicklySeparate.md
+++ b/doc/docs/guide/quicklySeparate.md
@@ -56,9 +56,9 @@ report-core --> src --> main --> resources --> bootstrap.yml
```yaml
datasource:
- url: jdbc:mysql://10.108.26.197:3306/aj_report?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
+ url: jdbc:mysql://127.0.0.1:3306/aj_report?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
username: root
- password: appuser@anji
+ password: xxxxxxxx
```
## flyway
diff --git a/doc/docs/guide/quicklySource.md b/doc/docs/guide/quicklySource.md
index 055eb1df..44eab47e 100644
--- a/doc/docs/guide/quicklySource.md
+++ b/doc/docs/guide/quicklySource.md
@@ -62,9 +62,9 @@ git clone https://gitee.com/anji-plus/report.git
```yaml
datasource:
- url: jdbc:mysql://10.108.26.197:3306/aj_report?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
+ url: jdbc:mysql://127.0.0.1:3306/aj_report?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
username: root
- password: appuser@anji
+ password: xxxxxxxx
```
## flyway
diff --git a/report-core/src/main/resources/bootstrap.yml b/report-core/src/main/resources/application.yml
similarity index 100%
rename from report-core/src/main/resources/bootstrap.yml
rename to report-core/src/main/resources/application.yml
diff --git a/report-core/src/main/resources/bootstrap-dev.yml b/report-core/src/main/resources/bootstrap-dev.yml
deleted file mode 100644
index 2a6f2fda..00000000
--- a/report-core/src/main/resources/bootstrap-dev.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-# 该文件配置会继承bootstrap.xml,只需要配置数据库等差异配置
-spring:
- datasource:
- url: jdbc:mysql://10.108.26.197:3306/aj_report?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
- username: root
- password: appuser@anji
- type: com.alibaba.druid.pool.DruidDataSource
- gaea:
- subscribes:
- oss: #文件存储
- enabled: true
- ##允许上传的文件后缀
- file-type-white-list: .png|.jpg|.gif|.icon|.pdf|.xlsx|.xls|.csv|.mp4|.avi|.jpeg|.aaa|.svg
- # 用于文件上传成功后,生成文件的下载公网完整URL
- downloadPath: http://127.0.0.1:9095/file/download
- nfs:
- path: D:\\aaa\\
diff --git a/report-core/src/main/resources/bootstrap-prod.yml b/report-core/src/main/resources/bootstrap-prod.yml
deleted file mode 100644
index d2b38dd9..00000000
--- a/report-core/src/main/resources/bootstrap-prod.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# 该文件配置会继承bootstrap.xml,只需要配置数据库等差异配置
-spring:
- datasource:
- url: jdbc:mysql://10.108.26.197:3306/aj_report?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
- username: root
- password: appuser@anji