Commit e4911cd0 authored by 华润's avatar 华润

代码提交内置机

parent ed526442
...@@ -49,8 +49,43 @@ ...@@ -49,8 +49,43 @@
<artifactId>fastjson</artifactId> <artifactId>fastjson</artifactId>
<version>1.2.68</version> <version>1.2.68</version>
</dependency> </dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc7</artifactId>
<version>12.1.0.1.0</version>
</dependency>
</dependencies> </dependencies>
<repositories>
<repository>
<id>cd-maven</id>
<name>Central Repository</name>
<url>http://192.168.101.223:8081/repository/maven-public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>cd-maven</id>
<name>Maven China Mirror</name>
<url>http://192.168.101.223:8081/repository/maven-public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<dependencyManagement> <dependencyManagement>
<dependencies> <dependencies>
<dependency> <dependency>
...@@ -63,6 +98,7 @@ ...@@ -63,6 +98,7 @@
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
<build> <build>
<finalName>InternalLogic</finalName> <finalName>InternalLogic</finalName>
<plugins> <plugins>
...@@ -81,7 +117,7 @@ ...@@ -81,7 +117,7 @@
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>2.3.7.RELEASE</version> <version>2.3.7.RELEASE</version>
<configuration> <configuration>
<mainClass>net.cdkj.gjj.adapter.AdapterApplication</mainClass> <mainClass>net.cdkj.gjj.adapter.InternalLogicApplication</mainClass>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
......
...@@ -4,10 +4,10 @@ import org.springframework.boot.SpringApplication; ...@@ -4,10 +4,10 @@ import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication @SpringBootApplication
public class AdapterApplication { public class InternalLogicApplication {
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(AdapterApplication.class, args); SpringApplication.run(InternalLogicApplication.class, args);
} }
} }
...@@ -7,7 +7,7 @@ public class ServletInitializer extends SpringBootServletInitializer { ...@@ -7,7 +7,7 @@ public class ServletInitializer extends SpringBootServletInitializer {
@Override @Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(AdapterApplication.class); return application.sources(InternalLogicApplication.class);
} }
} }
...@@ -46,7 +46,7 @@ public class ProvidentFundServicesController { ...@@ -46,7 +46,7 @@ public class ProvidentFundServicesController {
OutputStream out = null; OutputStream out = null;
try { try {
// 创建url 资源 // 创建url 资源
URL url = new URL("http://127.0.0.1:8080/FrontEndProcessor/FrontEndProcessor/ProvidentFundServices");//调用前置机将业务机封装的业务json数据发给前置机,让前置机去请求第三方的公积金系统服务接口 URL url = new URL("http://192.168.101.34:8080/FrontEndProcessor/FrontEndProcessor/ProvidentFundServices");//调用前置机将业务机封装的业务json数据发给前置机,让前置机去请求第三方的公积金系统服务接口
// 创建http 连接 // 创建http 连接
conn = (HttpURLConnection) url.openConnection(); conn = (HttpURLConnection) url.openConnection();
// 设置允许输出 // 设置允许输出
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment