master
parent
43e80f9626
commit
4e9fcd4888
|
|
@ -71,7 +71,7 @@ public class OrderController {
|
|||
/**
|
||||
* 指派清运公司
|
||||
*/
|
||||
@GetMapping("/assignmentOrg")
|
||||
@PostMapping("/assignmentOrg")
|
||||
public R<?> assignmentOrg(@RequestBody AssignmentOrgParam orgParam) {
|
||||
orderService.assignmentOrg(orgParam);
|
||||
return R.success();
|
||||
|
|
@ -80,7 +80,7 @@ public class OrderController {
|
|||
/**
|
||||
* 指派司机
|
||||
*/
|
||||
@GetMapping("/assignmentDriver")
|
||||
@PostMapping("/assignmentDriver")
|
||||
public R<?> assignmentDriver(@RequestBody AssignmentDriverParam driverParam) {
|
||||
orderService.assignmentDriver(driverParam);
|
||||
return R.success();
|
||||
|
|
@ -89,7 +89,7 @@ public class OrderController {
|
|||
/**
|
||||
* 司机接单
|
||||
*/
|
||||
@GetMapping("/driverAcceptOrder")
|
||||
@PostMapping("/driverAcceptOrder")
|
||||
public R<?> driverAcceptOrder(@RequestBody DriverAcceptOrderParam acceptOrderParam) {
|
||||
orderService.driverAcceptOrder(acceptOrderParam);
|
||||
return R.success();
|
||||
|
|
|
|||
Loading…
Reference in New Issue