| Line 108... |
Line 108... |
| 108 |
@RequestParam int orderId,
|
108 |
@RequestParam int orderId,
|
| 109 |
@RequestParam String reason) throws Throwable {
|
109 |
@RequestParam String reason) throws Throwable {
|
| 110 |
return wrapResponse(orderController.partnerCancelOrder(request, orderId, reason));
|
110 |
return wrapResponse(orderController.partnerCancelOrder(request, orderId, reason));
|
| 111 |
}
|
111 |
}
|
| 112 |
|
112 |
|
| 113 |
@PostMapping("/order/cancellation")
|
- |
|
| 114 |
public ResponseEntity<ApiResponse<?>> CancellableRequest(HttpServletRequest request,
|
- |
|
| 115 |
@RequestParam(name = "orderId") long orderId,
|
- |
|
| 116 |
@RequestParam(name = "splitOrderQty") long splitOrderQty) throws Throwable {
|
- |
|
| 117 |
return wrapResponse(orderController.CancellableRequest(request, orderId, splitOrderQty));
|
- |
|
| 118 |
}
|
- |
|
| 119 |
|
- |
|
| 120 |
@GetMapping("/order/list")
|
113 |
@GetMapping("/order/list")
|
| 121 |
public ResponseEntity<ApiResponse<?>> getOrderListByOrderId(HttpServletRequest request,
|
114 |
public ResponseEntity<ApiResponse<?>> getOrderListByOrderId(HttpServletRequest request,
|
| 122 |
@RequestParam(name = "orderId") List<Integer> orderIds) throws Throwable {
|
115 |
@RequestParam(name = "orderId") List<Integer> orderIds) throws Throwable {
|
| 123 |
return wrapResponse(orderController.getOrderListByOrderId(request, orderIds));
|
116 |
return wrapResponse(orderController.getOrderListByOrderId(request, orderIds));
|
| 124 |
}
|
117 |
}
|