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
89e17405
Commit
89e17405
authored
Sep 14, 2023
by
liuzicheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
初始化项目
parent
288f12d5
Pipeline
#524
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
BaseController.java
src/main/java/com/jqtx/windows/web/BaseController.java
+2
-5
No files found.
src/main/java/com/jqtx/windows/web/BaseController.java
View file @
89e17405
...
...
@@ -6,10 +6,7 @@ import com.jqtx.windows.web.response.JsonResult;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.*
;
@RestController
@RequestMapping
(
"/zhenong/v1"
)
...
...
@@ -21,7 +18,7 @@ public class BaseController {
@ApiOperation
(
value
=
"网关接口"
)
@PostMapping
(
"/{url}"
)
public
JsonResult
creditSubmit
(
@
PathVariable
String
url
,
String
requestBody
)
{
public
JsonResult
creditSubmit
(
@
RequestBody
String
requestBody
,
@PathVariable
String
url
)
{
return
commandProxy
.
call
(
requestBody
,
url
);
}
}
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