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
0d173699
Commit
0d173699
authored
Oct 23, 2023
by
张庆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
d087b2b5
c2e39e1b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
0 deletions
+40
-0
CreditThirdDataCommand.java
...java/com/jqtx/windows/command/CreditThirdDataCommand.java
+23
-0
RouterConfig.java
src/main/java/com/jqtx/windows/web/config/RouterConfig.java
+6
-0
CreditThirdDataRequest.java
.../com/jqtx/windows/web/request/CreditThirdDataRequest.java
+11
-0
No files found.
src/main/java/com/jqtx/windows/command/CreditThirdDataCommand.java
0 → 100644
View file @
0d173699
package
com
.
jqtx
.
windows
.
command
;
import
com.alibaba.fastjson.JSON
;
import
com.jqtx.windows.common.factory.AbstractCommand
;
import
com.jqtx.windows.common.factory.RuntimeContextHolder
;
import
com.jqtx.windows.web.request.CreditSubmitRequest
;
import
com.jqtx.windows.web.request.CreditThirdDataRequest
;
import
com.jqtx.windows.web.response.JsonResult
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
@Service
@Slf4j
public
class
CreditThirdDataCommand
extends
AbstractCommand
{
@Override
public
JsonResult
execute
()
{
String
requestBody
=
RuntimeContextHolder
.
currentRuntimeContext
().
getRequestBody
();
CreditThirdDataRequest
request
=
JSON
.
parseObject
(
requestBody
,
CreditThirdDataRequest
.
class
);
return
null
;
}
}
src/main/java/com/jqtx/windows/web/config/RouterConfig.java
View file @
0d173699
package
com
.
jqtx
.
windows
.
web
.
config
;
import
com.jqtx.infrastructure.util.AKAESUtil
;
import
com.jqtx.windows.command.*
;
import
com.jqtx.windows.common.factory.AbstractCommand
;
import
lombok.extern.slf4j.Slf4j
;
...
...
@@ -34,6 +35,9 @@ public class RouterConfig implements CommandLineRunner {
@Autowired
private
SignContractCommand
signContractCommand
;
@Autowired
private
CreditThirdDataCommand
creditThirdDataCommand
;
private
static
HashMap
<
String
,
AbstractCommand
>
commandHashMap
=
new
HashMap
<>();
public
static
AbstractCommand
getCommand
(
String
method
)
{
...
...
@@ -54,6 +58,8 @@ public class RouterConfig implements CommandLineRunner {
commandHashMap
.
put
(
"syncLoan"
,
syncLoanCommand
);
commandHashMap
.
put
(
"syncCreditResult"
,
syncCreditCommand
);
commandHashMap
.
put
(
"syncBack"
,
backedCommand
);
commandHashMap
.
put
(
"creditThirdData"
,
creditThirdDataCommand
);
}
}
src/main/java/com/jqtx/windows/web/request/CreditThirdDataRequest.java
0 → 100644
View file @
0d173699
package
com
.
jqtx
.
windows
.
web
.
request
;
import
lombok.Data
;
@Data
public
class
CreditThirdDataRequest
{
private
String
certNo
;
private
String
mobile
;
private
String
clientName
;
private
String
apiCode
;
}
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