Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-support-rlwx
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rl
hls-support-rlwx
Commits
5a5b567c
Commit
5a5b567c
authored
Aug 13, 2021
by
5359
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
中登网开发
parent
cc9a602c
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
132 additions
and
110 deletions
+132
-110
ZdwWsRequestsController.java
...pp/zhongDengWang/controllers/ZdwWsRequestsController.java
+1
-1
ZdwWsRequestsServiceImpl.java
.../zhongDengWang/service/impl/ZdwWsRequestsServiceImpl.java
+122
-103
ClientInitReg.java
.../java/com/hand/app/zhongDengWang/utils/ClientInitReg.java
+5
-5
ClientUtils.java
...in/java/com/hand/app/zhongDengWang/utils/ClientUtils.java
+1
-1
logback.xml
core/src/main/resources/logback.xml
+3
-0
No files found.
core/src/main/java/com/hand/app/zhongDengWang/controllers/ZdwWsRequestsController.java
View file @
5a5b567c
...
@@ -40,7 +40,7 @@ public class ZdwWsRequestsController extends BaseController {
...
@@ -40,7 +40,7 @@ public class ZdwWsRequestsController extends BaseController {
/**
/**
*
初始登记
*
中登网融资租赁-登记入口
**/
**/
@RequestMapping
(
value
=
"/zdw/service/register/init"
)
@RequestMapping
(
value
=
"/zdw/service/register/init"
)
@ResponseBody
@ResponseBody
...
...
core/src/main/java/com/hand/app/zhongDengWang/service/impl/ZdwWsRequestsServiceImpl.java
View file @
5a5b567c
This diff is collapsed.
Click to expand it.
core/src/main/java/com/hand/app/zhongDengWang/utils/ClientInitReg.java
View file @
5a5b567c
...
@@ -28,7 +28,7 @@ import com.rfp.sm.utils.SM2Utils;
...
@@ -28,7 +28,7 @@ import com.rfp.sm.utils.SM2Utils;
public
class
ClientInitReg
{
public
class
ClientInitReg
{
static
String
xmlPath
=
"
C://test//new//aaa
.xml"
;
static
String
xmlPath
=
"
F://L21LH00032-1-4
.xml"
;
static
String
attachmentZipPath
=
"C://test//new//aaa2.zip"
;
static
String
attachmentZipPath
=
"C://test//new//aaa2.zip"
;
/**
/**
...
@@ -101,13 +101,13 @@ public class ClientInitReg {
...
@@ -101,13 +101,13 @@ public class ClientInitReg {
public
static
byte
[]
getxmlFileContent
()
throws
TransformerFactoryConfigurationError
,
TransformerException
,
Exception
{
public
static
byte
[]
getxmlFileContent
()
throws
TransformerFactoryConfigurationError
,
TransformerException
,
Exception
{
InputStream
in
=
null
;
InputStream
in
=
null
;
InputStreamReader
reader
=
null
;
InputStreamReader
reader
=
null
;
Document
document
=
null
;
Document
document
=
null
;
File
file
=
new
File
(
xmlPath
);
File
file
=
new
File
(
xmlPath
);
in
=
new
FileInputStream
(
file
);
in
=
new
FileInputStream
(
file
);
reader
=
new
InputStreamReader
(
in
,
"
GBK
"
);
reader
=
new
InputStreamReader
(
in
,
"
UTF-8
"
);
//reader = new InputStreamReader(in);
//reader = new InputStreamReader(in);
SAXReader
saxReader
=
new
SAXReader
();
SAXReader
saxReader
=
new
SAXReader
();
try
{
try
{
...
@@ -116,8 +116,8 @@ public class ClientInitReg {
...
@@ -116,8 +116,8 @@ public class ClientInitReg {
e
.
printStackTrace
();
e
.
printStackTrace
();
return
null
;
return
null
;
}
}
javax
.
xml
.
transform
.
Transformer
transformer
=
TransformerFactory
.
newInstance
().
newTransformer
()
;
javax
.
xml
.
transform
.
Transformer
transformer
=
TransformerFactory
.
newInstance
().
newTransformer
()
;
//transformer.setOutputProperty(OutputKeys.ENCODING, "GBK") ;
//transformer.setOutputProperty(OutputKeys.ENCODING, "GBK") ;
transformer
.
setOutputProperty
(
OutputKeys
.
INDENT
,
"yes"
)
;
transformer
.
setOutputProperty
(
OutputKeys
.
INDENT
,
"yes"
)
;
...
...
core/src/main/java/com/hand/app/zhongDengWang/utils/ClientUtils.java
View file @
5a5b567c
...
@@ -90,7 +90,7 @@ public class ClientUtils {
...
@@ -90,7 +90,7 @@ public class ClientUtils {
javax
.
xml
.
transform
.
Transformer
transformer
=
TransformerFactory
.
newInstance
().
newTransformer
();
javax
.
xml
.
transform
.
Transformer
transformer
=
TransformerFactory
.
newInstance
().
newTransformer
();
//transformer.setOutputProperty(OutputKeys.ENCODING, "GBK
") ;
// transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8
") ;
transformer
.
setOutputProperty
(
OutputKeys
.
INDENT
,
"yes"
);
transformer
.
setOutputProperty
(
OutputKeys
.
INDENT
,
"yes"
);
ByteArrayOutputStream
bos
=
new
ByteArrayOutputStream
();
ByteArrayOutputStream
bos
=
new
ByteArrayOutputStream
();
StreamResult
streamResult
=
new
StreamResult
(
bos
);
StreamResult
streamResult
=
new
StreamResult
(
bos
);
...
...
core/src/main/resources/logback.xml
View file @
5a5b567c
...
@@ -88,6 +88,9 @@
...
@@ -88,6 +88,9 @@
<logger
name=
"com.hand.app.esignHclc.service.impl.SignInfoHclcFaceServiceImpl"
level=
"INFO"
additivity=
"false"
>
<logger
name=
"com.hand.app.esignHclc.service.impl.SignInfoHclcFaceServiceImpl"
level=
"INFO"
additivity=
"false"
>
<appender-ref
ref=
"REQ"
/>
<appender-ref
ref=
"REQ"
/>
</logger>
</logger>
<logger
name=
"com.hand.app.zhongDengWang.service.impl.ZdwWsRequestsServiceImpl"
level=
"INFO"
additivity=
"false"
>
<appender-ref
ref=
"REQ"
/>
</logger>
<logger
name=
"com.timevale"
level=
"INFO"
additivity=
"false"
>
<logger
name=
"com.timevale"
level=
"INFO"
additivity=
"false"
>
<appender-ref
ref=
"STDOUT"
/>
<appender-ref
ref=
"STDOUT"
/>
</logger>
</logger>
...
...
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