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 15 *
16 16 */
17 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 19 targetNamespace = "http://www.pd-transport.com/")
20 20 public class PJDataSerivce extends Service {
21 21  
... ... @@ -27,11 +27,11 @@ public class PJDataSerivce extends Service {
27 27 static {
28 28 URL url = null;
29 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 31 } catch (MalformedURLException e) {
32 32 java.util.logging.Logger.getLogger(PJDataSerivce.class.getName())
33 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 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 8 spring.jpa.database= MYSQL
9 9 spring.jpa.show-sql= true
10 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 12 spring.datasource.username= root
13 13 spring.datasource.password= root2jsp
14 14 #DATASOURCE
... ...