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
cc8a59bf
Commit
cc8a59bf
authored
Nov 17, 2023
by
LSL
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
本息服初始化
parent
cb295530
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
278 additions
and
0 deletions
+278
-0
BackedCommandnew.java
src/main/java/com/jqtx/windows/command/BackedCommandnew.java
+266
-0
BaseController.java
src/main/java/com/jqtx/windows/web/BaseController.java
+12
-0
No files found.
src/main/java/com/jqtx/windows/command/BackedCommandnew.java
0 → 100644
View file @
cc8a59bf
This diff is collapsed.
Click to expand it.
src/main/java/com/jqtx/windows/web/BaseController.java
View file @
cc8a59bf
...
...
@@ -2,7 +2,9 @@ package com.jqtx.windows.web;
import
com.jqtx.infrastructure.util.AKAESUtil
;
import
com.jqtx.windows.command.BackedCommandnew
;
import
com.jqtx.windows.common.factory.CommandProxy
;
import
com.jqtx.windows.web.request.BackedRequest
;
import
com.jqtx.windows.web.response.JsonResult
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
...
...
@@ -19,6 +21,9 @@ public class BaseController {
@Autowired
private
CommandProxy
commandProxy
;
@Autowired
private
BackedCommandnew
backedCommandnew
;
@ApiOperation
(
value
=
"网关接口"
)
@PostMapping
(
"/{url}"
)
public
JsonResult
creditSubmit
(
@RequestBody
String
requestBody
,
@PathVariable
String
url
)
{
...
...
@@ -33,6 +38,13 @@ public class BaseController {
return
commandProxy
.
test
(
requestBody
,
url
);
}
@ApiOperation
(
value
=
"测试网关接口"
)
@PostMapping
(
"/aaa"
)
public
JsonResult
aaa
(
@RequestBody
BackedRequest
backedRequest
)
{
log
.
info
(
"浙农请求:{}"
,
backedRequest
);
return
backedCommandnew
.
execute
(
backedRequest
);
}
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
AKAESUtil
.
decrypt
(
"+Nk2q1/FnJtWdXPFOZ816A=="
));
...
...
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