Browse Source

修改game配置信息

recovery
zy_Java 4 years ago
parent
commit
7f13c9ef54
  1. 5
      game/src/main/java/com/ccsens/game/api/DebugController.java
  2. 8
      game/src/main/resources/application-prod.yml
  3. 2
      game/src/main/resources/druid-prod.yml
  4. 2
      pom.xml

5
game/src/main/java/com/ccsens/game/api/DebugController.java

@ -1,11 +1,6 @@
package com.ccsens.game.api;
import com.ccsens.util.JacksonUtil;
import com.ccsens.util.JsonResponse;
import com.ccsens.util.bean.message.common.InMessage;
import com.ccsens.util.bean.message.common.MessageConstant;
import com.ccsens.util.bean.message.common.ServerMessage;
import com.ccsens.util.config.RabbitMQConfig;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

8
game/src/main/resources/application-prod.yml

@ -11,7 +11,7 @@ spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
rabbitmq:
host: 127.0.0.1
host: 121.36.3.207
password: 111111
port: 5672
username: admin
@ -24,15 +24,15 @@ spring:
max-idle: 10
max-wait: -1ms
min-idle: 0
# password: ''
password: 'areowqr!@43ef'
password: ''
# password: 'areowqr!@43ef'
port: 6379
timeout: 1000ms
swagger:
enable: true
eureka:
instance:
ip-address: 121.36.3.207
ip-address: 119.3.214.36
gatewayUrl: https://www.tall.wiki/gateway/
notGatewayUrl: https://www.tall.wiki/

2
game/src/main/resources/druid-prod.yml

@ -27,7 +27,7 @@ spring:
testOnReturn: false
testWhileIdle: true
timeBetweenEvictionRunsMillis: 60000
url: jdbc:mysql://127.0.0.1/game?useUnicode=true&characterEncoding=UTF-8
url: jdbc:mysql://121.36.3.207/game?useUnicode=true&characterEncoding=UTF-8
username: root
validationQuery: SELECT 1 FROM DUAL
env: CCSENS_GAME

2
pom.xml

@ -10,7 +10,7 @@
<module>util</module>
<module>tall</module>
<!-- <module>ht</module>-->
<!-- <module>game</module>-->
<module>game</module>
<module>mt</module>
<!-- <module>wisdomcar</module>-->
<module>beneficiation</module>

Loading…
Cancel
Save