|
|
|
@ -52,9 +52,6 @@ public class OrderController { |
|
|
|
|
@Resource |
|
|
|
|
private UserCenter userCenter; |
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
private RocketMQTemplate rocketMQTemplate; |
|
|
|
|
|
|
|
|
|
@RequestMapping(value="/create",method = RequestMethod.POST) |
|
|
|
|
@ResponseBody |
|
|
|
|
@ApiOperation(value = "创建订单") |
|
|
|
@ -257,4 +254,20 @@ public class OrderController { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/orderCheck", method = RequestMethod.GET) |
|
|
|
|
@ResponseBody |
|
|
|
|
@ApiOperation(value = "根据订单id查看订单") |
|
|
|
|
public ResponseData orderCheck(@RequestParam(name = "orderNo", required = true) String orderNo) { |
|
|
|
|
try { |
|
|
|
|
|
|
|
|
|
orderService.orderCheck(orderNo); |
|
|
|
|
|
|
|
|
|
return ResponseMsgUtil.success("操作成功"); |
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
log.error("HighOrderController --> cancelOrder() error!", e); |
|
|
|
|
return ResponseMsgUtil.exception(e); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|