diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 2d44365..850f360 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -1,10 +1,10 @@ server: - port: 7330 + port: 7320 servlet: context-path: /v1.0 spring: application: - name: ptcontest + name: ptccsens datasource: type: com.alibaba.druid.pool.DruidDataSource # rabbitmq: @@ -44,8 +44,8 @@ mybatisCache: port: 6379 timeout: 1000 -notGatewayUrl: http://101.201.226.163:7330/v1.0 +notGatewayUrl: http://101.201.226.163:7320/v1.0 file: - path: /home/pt_contest/server/uploads/ - domain: https://test.tall.wiki/gateway/ptcontest - imgDomain: http://101.201.226.163:7330/v1.0/uploads + path: /home/pt_ccsens/server/uploads/ + domain: https://test.tall.wiki/gateway/ptccsens + imgDomain: http://101.201.226.163:7320/v1.0/uploads diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index 1d0a3e7..fb06b38 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -1,10 +1,10 @@ server: - port: 7330 + port: 7320 servlet: context-path: /v1.0 spring: application: - name: ptcontest + name: ptccsens datasource: type: com.alibaba.druid.pool.DruidDataSource rabbitmq: @@ -35,6 +35,6 @@ gatewayUrl: https://www.tall.wiki/gateway/ notGatewayUrl: https://www.tall.wiki/ apiUrl: http://www.tall.wiki/ file: - path: /home/ptcontest/server/uploads/ - domain: https://www.tall.wiki/gateway/ptcontest - imgDomain: https://www.tall.wiki/gateway/ptcontest/v1.0/uploads/ + path: /home/ptccsens/server/uploads/ + domain: https://www.tall.wiki/gateway/ptccsens + imgDomain: https://www.tall.wiki/gateway/ptccsens/v1.0/uploads/ diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index 65c2f11..b1f179e 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -1,10 +1,10 @@ server: - port: 7330 + port: 7320 servlet: context-path: /v1.0 spring: application: - name: ptcontest + name: ptccsens datasource: type: com.alibaba.druid.pool.DruidDataSource rabbitmq: @@ -43,6 +43,6 @@ eureka: ip-address: 127.0.0.1 file: - path: /home/ptcontest/server/uploads/ - domain: https://test.tall.wiki/gateway/ptcontest - imgDomain: https://test.tall.wiki/gateway/ptcontest/v1.0/uploads/ + path: /home/ptccsens/server/uploads/ + domain: https://test.tall.wiki/gateway/ptccsens + imgDomain: https://test.tall.wiki/gateway/ptccsens/v1.0/uploads/ diff --git a/src/main/resources/druid-dev.yml b/src/main/resources/druid-dev.yml index b81cc37..5e0bf8b 100644 --- a/src/main/resources/druid-dev.yml +++ b/src/main/resources/druid-dev.yml @@ -28,7 +28,7 @@ spring: testOnReturn: false testWhileIdle: true timeBetweenEvictionRunsMillis: 60000 - url: jdbc:mysql://101.201.226.163:3306/pt_contest?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true + url: jdbc:mysql://101.201.226.163:3306/pt_ccsens?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true username: root validationQuery: SELECT 1 FROM DUAL # env: CCSENS_GAME diff --git a/src/main/resources/druid-prod.yml b/src/main/resources/druid-prod.yml index 77a190a..02fa6bb 100644 --- a/src/main/resources/druid-prod.yml +++ b/src/main/resources/druid-prod.yml @@ -29,7 +29,7 @@ spring: testWhileIdle: true timeBetweenEvictionRunsMillis: 60000 # url: jdbc:mysql://127.0.0.1/defaultwbs?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true - url: jdbc:mysql://www.tall.wiki/pt_contest?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true + url: jdbc:mysql://www.tall.wiki/pt_ccsens?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true username: root validationQuery: SELECT 1 FROM DUAL env: CCSENS_TALL \ No newline at end of file diff --git a/src/main/resources/druid-test.yml b/src/main/resources/druid-test.yml index f86c245..7821933 100644 --- a/src/main/resources/druid-test.yml +++ b/src/main/resources/druid-test.yml @@ -27,7 +27,7 @@ spring: testOnReturn: false testWhileIdle: true timeBetweenEvictionRunsMillis: 60000 - url: jdbc:mysql://test.tall.wiki/pt_contest?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true + url: jdbc:mysql://test.tall.wiki/pt_ccsens?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true username: root validationQuery: SELECT 1 FROM DUAL env: CCSENS_TALL \ No newline at end of file diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index 3a4a7d3..983af73 100644 --- a/src/main/resources/logback-spring.xml +++ b/src/main/resources/logback-spring.xml @@ -9,7 +9,7 @@ logback - + diff --git a/src/main/resources/mbg.xml b/src/main/resources/mbg.xml index 09f8c1b..4e06bf9 100644 --- a/src/main/resources/mbg.xml +++ b/src/main/resources/mbg.xml @@ -21,7 +21,7 @@ @@ -33,7 +33,7 @@ - @@ -50,7 +50,7 @@