Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
asset-distribution
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
asset-distribution
Commits
bc7d6c8d
Commit
bc7d6c8d
authored
Sep 24, 2021
by
技术部-韩成龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改回调请求接收类型
parent
5f1738a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
NewAssertController.java
...up/asset/distribution/controller/NewAssertController.java
+1
-1
CoreFilter.java
...tgroup/asset/distribution/service/newrule/CoreFilter.java
+3
-0
No files found.
src/main/java/com/quantgroup/asset/distribution/controller/NewAssertController.java
View file @
bc7d6c8d
...
@@ -30,7 +30,7 @@ public class NewAssertController {
...
@@ -30,7 +30,7 @@ public class NewAssertController {
private
CoreFilter
coreFilter
;
private
CoreFilter
coreFilter
;
@RequestMapping
(
"/core/asset_handler"
)
@RequestMapping
(
"/core/asset_handler"
)
public
GlobalResponse
assetsHandler
(
@RequestBody
@Valid
AuditResponce
auditResponce
)
{
public
GlobalResponse
assetsHandler
(
AuditResponce
auditResponce
)
{
log
.
info
(
"风控通知审核结果:{}"
,
JSONObject
.
toJSONString
(
auditResponce
));
log
.
info
(
"风控通知审核结果:{}"
,
JSONObject
.
toJSONString
(
auditResponce
));
try
{
try
{
coreFilter
.
coreHandle
(
auditResponce
);
coreFilter
.
coreHandle
(
auditResponce
);
...
...
src/main/java/com/quantgroup/asset/distribution/service/newrule/CoreFilter.java
View file @
bc7d6c8d
...
@@ -94,6 +94,9 @@ public class CoreFilter {
...
@@ -94,6 +94,9 @@ public class CoreFilter {
}
}
routingRecordList
.
add
(
generateRouteRecord
(
channelRuleEntity
));
routingRecordList
.
add
(
generateRouteRecord
(
channelRuleEntity
));
}
}
if
(
CollectionUtils
.
isEmpty
(
financeProducts
))
{
throw
new
RuntimeException
(
"筛选完成后没有可用的配置"
);
}
FilterResult
result
=
new
FilterResult
();
FilterResult
result
=
new
FilterResult
();
result
.
setFinanceProducts
(
JSON
.
toJSONString
(
financeProducts
));
result
.
setFinanceProducts
(
JSON
.
toJSONString
(
financeProducts
));
Map
<
String
,
String
>
response
=
httpService
.
postHasResponse
(
auditResponce
.
getCallbackUrl
(),
result
.
get
(
auditResponce
));
Map
<
String
,
String
>
response
=
httpService
.
postHasResponse
(
auditResponce
.
getCallbackUrl
(),
result
.
get
(
auditResponce
));
...
...
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