diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 4b46b37..b83b2b5 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -1,13 +1,20 @@ # 开发环境配置 - +server: + port: 9200 # 数据源配置 spring: datasource: - url: jdbc:mysql://47.119.165.234:3308/open_ws?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8 - username: open_ws - password: DzAmFiZfPJ6ZGApm + url: jdbc:mysql://47.107.122.174:3308/yunxinwei?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8 + username: yunxinwei + password: A56sK6aW2FA3wBy2 driver-class-name: com.mysql.cj.jdbc.Driver type: com.alibaba.druid.pool.DruidDataSource +# datasource: +# url: jdbc:mysql://47.119.165.234:3308/open_ws?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8 +# username: open_ws +# password: DzAmFiZfPJ6ZGApm +# driver-class-name: com.mysql.cj.jdbc.Driver +# type: com.alibaba.druid.pool.DruidDataSource # 日志配置 logging: diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index fd2c952..70ab20c 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -3,7 +3,7 @@ # 数据源配置 spring: datasource: - url: jdbc:mysql://1.14.159.185:3318/yunxinwei?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8 + url: jdbc:mysql://47.107.122.174:3318/yunxinwei?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8 username: yunxinwei password: A56sK6aW2FA3wBy2 driver-class-name: com.mysql.cj.jdbc.Driver @@ -47,4 +47,4 @@ config: cron: alert: 0 30 9 * * ? profit: 0 0/2 * * * ? - timeoutOrder: 1 0 0 * * ? \ No newline at end of file + timeoutOrder: 1 0 0 * * ? diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index a20aaa6..ef9c873 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,13 +1,13 @@ # 端口 server: - port: 9090 + port: 9200 # socketIo socketio: port: 9190 # 多环境配置 spring: profiles: - active: prod + active: dev # json时间格式设置 jackson: time-zone: GMT+8