Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
windows
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
zhanhai
windows
Commits
fc5381a8
Commit
fc5381a8
authored
1 year ago
by
张庆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增挡板规则
parent
7bd74fc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
RouterConfig.java
src/main/java/com/jqtx/windows/web/config/RouterConfig.java
+6
-3
No files found.
src/main/java/com/jqtx/windows/web/config/RouterConfig.java
View file @
fc5381a8
...
...
@@ -29,6 +29,8 @@ public class RouterConfig implements CommandLineRunner {
private
SyncLoanCommand
syncLoanCommand
;
@Autowired
private
SaveProtocolCommand
saveProtocolCommand
;
@Autowired
private
BackedCommand
backedCommand
;
private
static
HashMap
<
String
,
AbstractCommand
>
commandHashMap
=
new
HashMap
<>();
...
...
@@ -43,12 +45,13 @@ public class RouterConfig implements CommandLineRunner {
@Override
public
void
run
(
String
...
args
)
throws
Exception
{
commandHashMap
.
put
(
"creditSubmit"
,
creditSubmitCommand
);
commandHashMap
.
put
(
"getCredit"
,
getCreditCommand
);
commandHashMap
.
put
(
"loanSubmit"
,
loanSubmitCommand
);
commandHashMap
.
put
(
"getLoanResult"
,
loanStatusCommand
);
commandHashMap
.
put
(
"
getCredit"
,
getCredit
Command
);
commandHashMap
.
put
(
"
signContract"
,
saveProtocol
Command
);
commandHashMap
.
put
(
"getSignContract"
,
signContractCommand
);
commandHashMap
.
put
(
"syncCreditResult"
,
syncCreditCommand
);
commandHashMap
.
put
(
"syncLoan"
,
syncLoanCommand
);
commandHashMap
.
put
(
"signContract"
,
saveProtocolCommand
);
commandHashMap
.
put
(
"syncCreditResult"
,
syncCreditCommand
);
commandHashMap
.
put
(
"syncBack"
,
backedCommand
);
}
}
This diff is collapsed.
Click to expand it.
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