Commit 447098e47be7add6d9549e8858f59e1b484dbf9e

Authored by 王通
1 parent e6c1a395

1.迁移至联通云,配置修改

src/main/java/com/bsth/wsdl/PJDataSerivce.java
@@ -15,7 +15,7 @@ import java.net.URL; @@ -15,7 +15,7 @@ import java.net.URL;
15 * 15 *
16 */ 16 */
17 @WebServiceClient(name = "PJDataSerivce", 17 @WebServiceClient(name = "PJDataSerivce",
18 - wsdlLocation = "http://116.228.98.212:31/PJDataInterface/PJDataService.asmx?wsdl", 18 + wsdlLocation = "http://58.247.254.22:31/PJDataInterface/PJDataService.asmx?wsdl",
19 targetNamespace = "http://www.pd-transport.com/") 19 targetNamespace = "http://www.pd-transport.com/")
20 public class PJDataSerivce extends Service { 20 public class PJDataSerivce extends Service {
21 21
@@ -27,11 +27,11 @@ public class PJDataSerivce extends Service { @@ -27,11 +27,11 @@ public class PJDataSerivce extends Service {
27 static { 27 static {
28 URL url = null; 28 URL url = null;
29 try { 29 try {
30 - url = new URL("http://116.228.98.212:31/PJDataInterface/PJDataService.asmx?wsdl"); 30 + url = new URL("http://58.247.254.22:31/PJDataInterface/PJDataService.asmx?wsdl");
31 } catch (MalformedURLException e) { 31 } catch (MalformedURLException e) {
32 java.util.logging.Logger.getLogger(PJDataSerivce.class.getName()) 32 java.util.logging.Logger.getLogger(PJDataSerivce.class.getName())
33 .log(java.util.logging.Level.INFO, 33 .log(java.util.logging.Level.INFO,
34 - "Can not initialize the default wsdl from {0}", "http://116.228.98.212:31/PJDataInterface/PJDataService.asmx?wsdl"); 34 + "Can not initialize the default wsdl from {0}", "http://58.247.254.22:31/PJDataInterface/PJDataService.asmx?wsdl");
35 } 35 }
36 WSDL_LOCATION = url; 36 WSDL_LOCATION = url;
37 } 37 }
src/main/resources/application-prod.properties
@@ -8,7 +8,7 @@ spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy @@ -8,7 +8,7 @@ spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy
8 spring.jpa.database= MYSQL 8 spring.jpa.database= MYSQL
9 spring.jpa.show-sql= true 9 spring.jpa.show-sql= true
10 spring.datasource.driver-class-name= com.mysql.jdbc.Driver 10 spring.datasource.driver-class-name= com.mysql.jdbc.Driver
11 -spring.datasource.url= jdbc:mysql://10.10.200.121/control?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=utf-8&useSSL=false 11 +spring.datasource.url= jdbc:mysql://192.170.100.132/control?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=utf-8&useSSL=false
12 spring.datasource.username= root 12 spring.datasource.username= root
13 spring.datasource.password= root2jsp 13 spring.datasource.password= root2jsp
14 #DATASOURCE 14 #DATASOURCE