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
86b10d19
Commit
86b10d19
authored
Aug 24, 2020
by
5359
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试环境文件提交
parent
33d1d35b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
15 deletions
+22
-15
OrganSignInfoHclcServiceImpl.java
.../esignHclc/service/impl/OrganSignInfoHclcServiceImpl.java
+3
-0
SignInfoHclcServiceImpl.java
...d/app/esignHclc/service/impl/SignInfoHclcServiceImpl.java
+16
-12
config.properties
core/src/main/resources/profiles/dev/config.properties
+1
-1
config.properties
core/src/main/resources/profiles/sit/config.properties
+1
-1
config.properties
core/src/main/resources/profiles/uat/config.properties
+1
-1
No files found.
core/src/main/java/com/hand/app/esignHclc/service/impl/OrganSignInfoHclcServiceImpl.java
View file @
86b10d19
...
...
@@ -792,6 +792,9 @@ public class OrganSignInfoHclcServiceImpl extends BaseServiceImpl<SignUserInfoHc
headInfo
.
put
(
"x-timevale-project-id"
,
projectId
);
headInfo
.
put
(
"x-timevale-signature"
,
EncryptedString
);
System
.
out
.
println
(
projectId
);
System
.
out
.
println
(
EncryptedString
);
try
{
//初始化接口信息
String
url
=
iSignInfoHclcService
.
getApiUrl
(
signatureSysName
,
bindApiName
);
...
...
core/src/main/java/com/hand/app/esignHclc/service/impl/SignInfoHclcServiceImpl.java
View file @
86b10d19
...
...
@@ -1184,10 +1184,14 @@ public class SignInfoHclcServiceImpl extends BaseServiceImpl<SignUserInfoHclc> i
for
(
int
i
=
0
;
i
<
signers
.
size
();
i
++)
{
JSONObject
json1
=
signers
.
getJSONObject
(
i
);
String
idNo
=
json1
.
getString
(
"idNo"
);
String
agentIdNo
=
json1
.
getString
(
"agentIdNo"
)
;
String
agentIdNo
=
null
;
String
name
=
json1
.
getString
(
"name"
);
String
role
=
json1
.
getString
(
"role"
);
//获取需要发送微信通知的签署人
if
(!
"HCLC"
.
equalsIgnoreCase
(
role
)
&&
!
"AGENT"
.
equalsIgnoreCase
(
role
))
{
json1
.
getString
(
"agentIdNo"
);
}
// if ("HCLC".equalsIgnoreCase(role)) {
//
// SignUserInfoHclc signInfoHclc = new SignUserInfoHclc();
...
...
@@ -1295,13 +1299,12 @@ public class SignInfoHclcServiceImpl extends BaseServiceImpl<SignUserInfoHclc> i
//微信电子签约通知模板
JSONObject
wxParams
=
new
JSONObject
();
wxParams
=
params
.
getJSONObject
(
"attachments"
);
wxParams
.
put
(
"templateId"
,
"lyMDp1r6Jp5r7eSiho0otSby4tY0pXjZg1gbcA1poNI"
);
wxParams
.
put
(
"first"
,
"您好,您申请的融资租赁合同已经通过审核,可以进行签约流程!"
);
wxParams
.
put
(
"keyword1"
,
"承租人:"
);
wxParams
.
put
(
"keyword2"
,
"合同号:"
);
wxParams
.
put
(
"keyword3"
,
"机号:"
);
wxParams
.
put
(
"keyword4"
,
"签约时间:"
);
wxParams
.
put
(
"keyword1"
,
"承租人:"
+
params
.
getString
(
"customername"
)
);
wxParams
.
put
(
"keyword2"
,
"合同号:"
+
params
.
getString
(
"contractno"
)
);
wxParams
.
put
(
"keyword3"
,
"机号:"
+
params
.
getString
(
"serialno"
)
);
wxParams
.
put
(
"keyword4"
,
"签约时间:"
+
params
.
getString
(
"leasebgndt"
)
);
wxParams
.
put
(
"remark"
,
"请点击互动中心-融资租赁进行签约。谢谢!"
);
wxParams
.
put
(
"url"
,
""
);
...
...
@@ -1397,16 +1400,17 @@ public class SignInfoHclcServiceImpl extends BaseServiceImpl<SignUserInfoHclc> i
signUrl
.
remove
(
"accountName"
);
}
}
//发送微信通知
if
(
Objects
.
nonNull
(
wxOpenIds
)
&&
wxOpenIds
.
size
()
>
0
)
{
for
(
String
id
:
wxOpenIds
)
{
wxParams
.
put
(
"openId"
,
id
);
sendWxTemplateMsg
(
wxParams
);
//发送微信通知
if
(
Objects
.
nonNull
(
wxOpenIds
)
&&
wxOpenIds
.
size
()
>
0
)
{
for
(
String
id
:
wxOpenIds
)
{
wxParams
.
put
(
"openId"
,
id
);
sendWxTemplateMsg
(
wxParams
);
}
}
}
}
catch
(
Exception
e
)
{
logger
.
error
(
"create sign flows failed, msg:{}"
,
e
.
getMessage
());
jsonResult
.
put
(
"errCode"
,
"000004"
);
...
...
core/src/main/resources/profiles/dev/config.properties
View file @
86b10d19
...
...
@@ -113,7 +113,7 @@ thread.taskSize = 5
tsign.project.id
=
1000029
tsign.project.secret
=
2e66a86bbc6fa9000d4a5f272cbc70e1
#e签宝地址
tsign.api.url
=
http://
139.196.17.22:8035
tsign.api.url
=
http://
tsign-test.hitachics.com
#用户认证地址
tsign.face.api.url
=
https://smlopenapi.esign.cn
#用户认证用户
...
...
core/src/main/resources/profiles/sit/config.properties
View file @
86b10d19
...
...
@@ -113,7 +113,7 @@ thread.taskSize = 5
tsign.project.id
=
1000029
tsign.project.secret
=
2e66a86bbc6fa9000d4a5f272cbc70e1
#e签宝地址
tsign.api.url
=
http://
139.196.17.22:8035
tsign.api.url
=
http://
tsign-test.hitachics.com
#用户认证地址
tsign.face.api.url
=
https://smlopenapi.esign.cn
#用户认证用户
...
...
core/src/main/resources/profiles/uat/config.properties
View file @
86b10d19
...
...
@@ -113,7 +113,7 @@ thread.taskSize = 5
tsign.project.id
=
1000029
tsign.project.secret
=
2e66a86bbc6fa9000d4a5f272cbc70e1
#e签宝地址
tsign.api.url
=
http://
139.196.17.22:8035
tsign.api.url
=
http://
tsign-test.hitachics.com
#用户认证地址
tsign.face.api.url
=
https://smlopenapi.esign.cn
#用户认证用户
...
...
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