浏览代码

配置文件

master
dongyuangong 4 年前
父节点
当前提交
6cdb1287eb
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      src/main/resources/config/application-dev.yml
  2. +1
    -1
      src/main/resources/config/application-prod.yml

+ 1
- 1
src/main/resources/config/application-dev.yml 查看文件

@@ -7,7 +7,7 @@ server:
context-path: /api
spring:
datasource:
url: jdbc:mysql://localhost:3306/taauav_lishui?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8&useSSL=true&tinyInt1isBit=false
url: jdbc:mysql://localhost:3306/taauav_nanjing?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8&useSSL=true&tinyInt1isBit=false
username: root
password: idontcare
driver-class-name: com.mysql.cj.jdbc.Driver

+ 1
- 1
src/main/resources/config/application-prod.yml 查看文件

@@ -7,7 +7,7 @@ server:
context-path: /api
spring:
datasource:
url: jdbc:mysql://172.17.0.11:3306/taauav_lishui?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8&useSSL=true&tinyInt1isBit=false
url: jdbc:mysql://172.17.0.11:3306/taauav_nanjing?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8&useSSL=true&tinyInt1isBit=false
username: root
password: taauav@2019
driver-class-name: com.mysql.cj.jdbc.Driver

正在加载...
取消
保存