Browse Source

修改腾讯云环境数据库配置

suntg 7 years ago
parent
commit
e881d25122

+ 2 - 2
pom.xml

@@ -45,9 +45,9 @@
         </profile>
         <profile>
             <!-- 腾讯云环境 -->
-            <id>cloud</id>
+            <id>txcloud</id>
             <properties>
-                <profile>cloud</profile>
+                <profile>txcloud</profile>
                 <!-- static plugin -->
                 <static-path>static</static-path>
             </properties>

+ 0 - 2
src/main/resources/cloud/redis.properties

@@ -1,2 +0,0 @@
-redis.host=172.16.0.150
-redis.port=6379

+ 0 - 0
src/main/resources/cloud/account.properties → src/main/resources/txcloud/account.properties


+ 0 - 0
src/main/resources/cloud/email.properties → src/main/resources/txcloud/email.properties


+ 2 - 2
src/main/resources/cloud/jdbc.properties → src/main/resources/txcloud/jdbc.properties

@@ -27,6 +27,6 @@ manage.jdbc.password=select!#%*(
 
 
 jdbc.driverClassName=com.mysql.jdbc.Driver
-jdbc.url=jdbc:mysql://172.16.0.250:3306/b2b_prod?characterEncoding=UTF-8&allowMultiQueries=true&rewriteBatchedStatements=true
-jdbc.username=root
+jdbc.url=jdbc:mysql://172.21.0.2:3306/b2b_prod?characterEncoding=UTF-8&allowMultiQueries=true&rewriteBatchedStatements=true
+jdbc.username=sa
 jdbc.password=select111***

+ 0 - 0
src/main/resources/cloud/message.properties → src/main/resources/txcloud/message.properties


+ 2 - 0
src/main/resources/txcloud/redis.properties

@@ -0,0 +1,2 @@
+redis.host=172.21.0.150
+redis.port=6379

+ 2 - 2
src/main/resources/cloud/sys.properties → src/main/resources/txcloud/sys.properties

@@ -11,7 +11,7 @@ reportPrintUrl=http://pre-print.ubtob.com/report/print?userName=B2B%s&profile=${
 reportUploadUrl=http://pre-print.ubtob.com/report/fileUpload?userName=B2B%s
 
 #product service url
-productServiceUrl=http://172.16.0.22:8080
+productServiceUrl=http://172.21.0.47:8080
 
 #inquiry service url
 inquiryServiceUrl=https://api-inquiry.usoftchina.com/
@@ -20,4 +20,4 @@ inquiryServiceUrl=https://api-inquiry.usoftchina.com/
 messageServiceIp=http://message.ubtob.com/
 
 #search url
-searchUrl=http://172.16.0.6:8081
+searchUrl=http://172.21.0.48:8081