5614 待支付订单无法取消和支付
This commit is contained in:
parent
227a591da7
commit
d17a802b56
|
|
@ -101,8 +101,8 @@ public class OrderInfoMobileController extends BaseController {
|
|||
value = "取消支付",
|
||||
notes = "cmt-取消支付"
|
||||
)
|
||||
public AjaxResult orderPayCancel(@RequestBody @Valid LeRequest<OrderIdMobileDTO> request) {
|
||||
this.orderInfoMobileBusiness.orderPayCancel(((OrderIdMobileDTO)request.getContent()).getOrderId());
|
||||
public AjaxResult orderPayCancel(@RequestBody @Valid OrderIdMobileDTO request) {
|
||||
this.orderInfoMobileBusiness.orderPayCancel(request.getOrderId());
|
||||
return AjaxResult.success();
|
||||
}
|
||||
//
|
||||
|
|
|
|||
|
|
@ -119,10 +119,9 @@ public class OrderPlaceMobileController {
|
|||
notes = "cmt-根据订单id支付"
|
||||
)
|
||||
public AjaxResult orderPayByOrderId(@RequestHeader Map<String, String> headers,
|
||||
@RequestBody LeRequest<OrderPayMobileDTO> request) {
|
||||
@RequestBody OrderPayMobileDTO orderPayDTO) {
|
||||
long startTime = System.currentTimeMillis();
|
||||
RequestHeaderDTO headerDTO = RequestHeaderDTO.of(headers);
|
||||
OrderPayMobileDTO orderPayDTO = (OrderPayMobileDTO)request.getContent();
|
||||
orderPayDTO.setCustId(headerDTO.getCustId());
|
||||
OrderPayMobileVO mobileVO = this.orderPlaceMobileBusiness.orderPayByOrderId(headerDTO, orderPayDTO);
|
||||
LogUtil.info("[根据订单id支付]支付耗时", System.currentTimeMillis() - startTime, mobileVO);
|
||||
|
|
|
|||
Loading…
Reference in New Issue