Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-standard-interfaces
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d20d5e96
authored
May 12, 2022
by
向延琳
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加请求路径
1 parent
7b74707c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
src/main/java/cn/com/glsx/stdinterface/modules/controller/SpeedingController.java
src/main/java/cn/com/glsx/stdinterface/modules/controller/SpeedingController.java
View file @
d20d5e9
...
@@ -7,6 +7,8 @@ import com.glsx.plat.core.web.R;
...
@@ -7,6 +7,8 @@ import com.glsx.plat.core.web.R;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
...
@@ -24,8 +26,9 @@ public class SpeedingController implements DeviceSpeedingClient {
...
@@ -24,8 +26,9 @@ public class SpeedingController implements DeviceSpeedingClient {
@Autowired
@Autowired
private
SpeedingService
speedingService
;
private
SpeedingService
speedingService
;
@PostMapping
(
value
=
"/save"
)
@Override
@Override
public
R
saveDeviceSpeeding
(
DeviceSpeedingDTO
deviceSpeedingDTO
)
{
public
R
saveDeviceSpeeding
(
@RequestBody
DeviceSpeedingDTO
deviceSpeedingDTO
)
{
speedingService
.
saveDeviceSpeeding
(
deviceSpeedingDTO
);
speedingService
.
saveDeviceSpeeding
(
deviceSpeedingDTO
);
return
R
.
ok
();
return
R
.
ok
();
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment