Commit 60862447 by 丁伟峰

Merge branch 'feat-dingwf' into develop

2 parents 5326e11c ded29626
......@@ -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 {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!