update quick start
This commit is contained in:
@@ -30,9 +30,9 @@
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
datasource:
|
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
|
username: root
|
||||||
password: appuser@anji
|
password: xxxxxxxx
|
||||||
```
|
```
|
||||||
|
|
||||||
## flyway
|
## flyway
|
||||||
|
|||||||
@@ -56,9 +56,9 @@ report-core --> src --> main --> resources --> bootstrap.yml <br>
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
datasource:
|
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
|
username: root
|
||||||
password: appuser@anji
|
password: xxxxxxxx
|
||||||
```
|
```
|
||||||
|
|
||||||
## flyway
|
## flyway
|
||||||
|
|||||||
@@ -62,9 +62,9 @@ git clone https://gitee.com/anji-plus/report.git <br>
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
datasource:
|
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
|
username: root
|
||||||
password: appuser@anji
|
password: xxxxxxxx
|
||||||
```
|
```
|
||||||
|
|
||||||
## flyway
|
## flyway
|
||||||
|
|||||||
@@ -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\\
|
|
||||||
@@ -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
|
|
||||||
Reference in New Issue
Block a user