Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 60862447
authored
May 17, 2023
by
丁伟峰
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat-dingwf' into develop
2 parents
5326e11c
ded29626
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/OrderController.java → project-order/src/main/java/com/alibaba/cloud/integration/order/controller/OrderCreateController.java
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/OrderController.java
→
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/OrderC
reateC
ontroller.java
View file @
6086244
...
...
@@ -33,8 +33,7 @@ import org.springframework.web.bind.annotation.*;
* @author TrevorLink
*/
@RestController
@RequestMapping
(
"/order"
)
public
class
OrderController
{
public
class
OrderCreateController
{
@Autowired
private
OrderService
orderService
;
...
...
@@ -45,7 +44,7 @@ public class OrderController {
@Autowired
private
TimeRangeService
timeRangeService
;
@PostMapping
(
"/service/create"
)
@PostMapping
(
"/
order/
service/create"
)
public
Result
<?>
createOrder
(
@Validated
@RequestBody
OrderCreateReqDTO
orderCreateReqDTO
)
{
Result
<?>
res
=
null
;
try
{
...
...
@@ -56,7 +55,7 @@ public class OrderController {
return
res
;
}
@GetMapping
(
"/service/parameter"
)
@GetMapping
(
"/
order/
service/parameter"
)
public
Result
<?>
getParameter
()
{
Result
<?>
res
=
null
;
try
{
...
...
@@ -67,7 +66,7 @@ public class OrderController {
return
res
;
}
@PostMapping
(
"/service/timerange"
)
@PostMapping
(
"/
order/
service/timerange"
)
public
Result
<?>
getTimerange
(
@Validated
@RequestBody
TimeRangeReqDTO
timeRangeReqDTO
)
{
Result
<?>
res
=
null
;
try
{
...
...
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