| | |
| | | */ |
| | | @FeignClient(contextId = "remoteOrderService", value = ServiceNameConstants.ORDER_SERVICE, fallbackFactory = RemoteOrderFallbackFactory.class) |
| | | public interface RemoteOrderService { |
| | | |
| | | @GetMapping("/client/order/order/getMeditationIsBuy/{id}/{meditationId}") |
| | | public R<Integer> getMeditationIsBuy(@PathVariable("id")Long id,@PathVariable("meditationId")Long meditationId); |
| | | @GetMapping("/client/order/order/getMeditationIsBuyAll/{id}") |
| | | public R<List<Order>> getMeditationIsBuyAll(@PathVariable("id")Long id); |
| | | @PostMapping("/mgt/order/order/getOrderList") |
| | | public R<List<Order>> getOrderList(@RequestParam("status") Integer status, |
| | | @RequestParam("timeType") Integer timeType, |
| | | @RequestParam("time") String time); |
| | | @PostMapping("/inner/order/order/getOrderListByType") |
| | | R<List<Order>> getOrderListByType(@RequestParam("userId") Long userId, |
| | | @RequestParam("orderFrom") Integer orderFrom, |