|
@@ -105,6 +105,15 @@ public class OmsPortalOrderController {
|
|
|
return CommonResult.success(orderDetail);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ @ApiOperation("根据订单号获取订单详情")
|
|
|
+ @RequestMapping(value = "/detail/sn/{orderSn}", method = RequestMethod.GET)
|
|
|
+ @ResponseBody
|
|
|
+ public CommonResult<OmsOrderDetail> detail(@PathVariable String orderSn) {
|
|
|
+ OmsOrderDetail orderDetail = portalOrderService.detail(orderSn);
|
|
|
+ return CommonResult.success(orderDetail);
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation("用户取消订单")
|
|
|
@RequestMapping(value = "/cancelUserOrder", method = RequestMethod.POST)
|
|
|
@ResponseBody
|