|
@ -35,22 +35,22 @@ public class OrderRest extends ApiBaseAction { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@PostMapping("/pay") |
|
|
@PostMapping("/pay") |
|
|
ResultBean pay(@RequestBody OrderQuery query) { |
|
|
ResultBean pay(OrderQuery query) { |
|
|
return orderService.pay(query, getClientIp()); |
|
|
return orderService.pay(query, getClientIp()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@PostMapping("wxPayNotify") |
|
|
@PostMapping("wxPayNotify") |
|
|
ResultBean wxPayNotify(HttpServletRequest request,HttpServletResponse response) throws IOException { |
|
|
ResultBean wxPayNotify(HttpServletRequest request, HttpServletResponse response) throws IOException { |
|
|
return orderService.wxPayNotify(request,response); |
|
|
return orderService.wxPayNotify(request, response); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@PostMapping("selectOrder") |
|
|
@PostMapping("selectOrder") |
|
|
ResultBean selectOrder(@RequestBody OrderQuery query) { |
|
|
ResultBean selectOrder(OrderQuery query) { |
|
|
return orderService.selectOrder(query); |
|
|
return orderService.selectOrder(query); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@PostMapping("orderQuery") |
|
|
@PostMapping("orderQuery") |
|
|
ResultBean orderQuery(@RequestBody OrderQuery query){ |
|
|
ResultBean orderQuery(OrderQuery query) { |
|
|
return orderService.orderQuery(query); |
|
|
return orderService.orderQuery(query); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|