Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
d626760f
Commit
d626760f
authored
Jul 18, 2024
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对接聚富通
parent
8b4cb3ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
HygfIcbcServiceImpl.java
...oot/module/hygf/biz/service/impl/HygfIcbcServiceImpl.java
+4
-2
application-dev.properties
...le-hygf-biz/src/main/resources/application-dev.properties
+4
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/HygfIcbcServiceImpl.java
View file @
d626760f
...
...
@@ -99,6 +99,8 @@ public class HygfIcbcServiceImpl extends BaseService<HygfIcbcRecordDTO, HygfIcbc
private
String
dayLmtAmt
;
@Value
(
"${hygf.icbc.loanTotalAmt:200000}"
)
private
String
loanTotalAmt
;
@Value
(
"${hygf.icbc.notifyUrl:}"
)
private
String
notifyUrl
;
@Resource
(
type
=
PeasantHouseholdServiceImpl
.
class
)
...
...
@@ -146,7 +148,7 @@ public class HygfIcbcServiceImpl extends BaseService<HygfIcbcRecordDTO, HygfIcbc
templateParams
.
put
(
"trx_lmt_amt"
,
trxLmtAmt
);
templateParams
.
put
(
"day_lmt_amt"
,
dayLmtAmt
);
bizContent
.
setTemplateParams
(
templateParams
.
toJSONString
());
// bizContent.setCallbackUrl("https://www.icbc.com.cn/notify"
);
bizContent
.
setCallbackUrl
(
notifyUrl
);
bizContent
.
setCamsPublicKey
(
CAMS_PUBLIC_KEY
);
request
.
setBizContent
(
bizContent
);
...
...
@@ -206,7 +208,7 @@ public class HygfIcbcServiceImpl extends BaseService<HygfIcbcRecordDTO, HygfIcbc
public
Object
registerWalletCallback
(
HttpServletRequest
request
,
HttpServletResponse
response
)
throws
Exception
{
log
.
info
(
"验签"
);
boolean
verifyFlag
=
verifySignData
(
request
,
"/[需替换]合作方通知路径A/[需替换]合作方通知路径B"
);
boolean
verifyFlag
=
verifySignData
(
request
,
notifyUrl
);
String
returnJson
;
// 获取其他参数略...
if
(
verifyFlag
)
{
// 验签成功
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/resources/application-dev.properties
View file @
d626760f
...
...
@@ -246,3 +246,6 @@ spring.elasticsearch.rest.connection-timeout=30000
spring.elasticsearch.rest.username
=
elastic
spring.elasticsearch.rest.password
=
123456
spring.elasticsearch.rest.read-timeout
=
30000
## 聚富通 配置
hygf.icbc.notifyUrl
=
http://47.92.234.253:8088/hygf/icbc/notify
\ No newline at end of file
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