Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
InternalLogic
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CrossProvincialPlatform
InternalLogic
Commits
e4911cd0
Commit
e4911cd0
authored
May 26, 2021
by
华润
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码提交内置机
parent
ed526442
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
5 deletions
+41
-5
pom.xml
pom.xml
+37
-1
src/main/java/net/cdkj/gjj/adapter/InternalLogicApplication.java
...n/java/net/cdkj/gjj/adapter/InternalLogicApplication.java
+2
-2
src/main/java/net/cdkj/gjj/adapter/ServletInitializer.java
src/main/java/net/cdkj/gjj/adapter/ServletInitializer.java
+1
-1
src/main/java/net/cdkj/gjj/adapter/controller/ProvidentFundServicesController.java
...j/adapter/controller/ProvidentFundServicesController.java
+1
-1
No files found.
pom.xml
View file @
e4911cd0
...
@@ -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.
Adapter
Application
</mainClass>
<mainClass>
net.cdkj.gjj.adapter.
InternalLogic
Application
</mainClass>
</configuration>
</configuration>
<executions>
<executions>
<execution>
<execution>
...
...
src/main/java/net/cdkj/gjj/adapter/
Adapter
Application.java
→
src/main/java/net/cdkj/gjj/adapter/
InternalLogic
Application.java
View file @
e4911cd0
...
@@ -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
Adapter
Application
{
public
class
InternalLogic
Application
{
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
Adapter
Application
.
class
,
args
);
SpringApplication
.
run
(
InternalLogic
Application
.
class
,
args
);
}
}
}
}
src/main/java/net/cdkj/gjj/adapter/ServletInitializer.java
View file @
e4911cd0
...
@@ -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
(
Adapter
Application
.
class
);
return
application
.
sources
(
InternalLogic
Application
.
class
);
}
}
}
}
src/main/java/net/cdkj/gjj/adapter/controller/ProvidentFundServicesController.java
View file @
e4911cd0
...
@@ -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://1
27.0.0.1
:8080/FrontEndProcessor/FrontEndProcessor/ProvidentFundServices"
);
//调用前置机将业务机封装的业务json数据发给前置机,让前置机去请求第三方的公积金系统服务接口
URL
url
=
new
URL
(
"http://1
92.168.101.34
:8080/FrontEndProcessor/FrontEndProcessor/ProvidentFundServices"
);
//调用前置机将业务机封装的业务json数据发给前置机,让前置机去请求第三方的公积金系统服务接口
// 创建http 连接
// 创建http 连接
conn
=
(
HttpURLConnection
)
url
.
openConnection
();
conn
=
(
HttpURLConnection
)
url
.
openConnection
();
// 设置允许输出
// 设置允许输出
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment