| | |
| | | JSONObject jsonObject = JuHeFuUtil.queryPayment(orderId); |
| | | return R.ok(jsonObject.getString("status")); |
| | | } |
| | | @GetMapping("/getMeditationIsBuyAll/{id}") |
| | | public R<List<Order>> getMeditationIsBuyAll(@PathVariable("id")Long id) { |
| | | List<Order> list = orderService.lambdaQuery() |
| | | .eq(Order::getAppUserId, id) |
| | | .eq(Order::getOrderFrom, 1) |
| | | .eq(Order::getPaymentStatus, 2) |
| | | .ne(Order::getRefundStatus, 3).list(); |
| | | return R.ok(list); |
| | | } |
| | | @GetMapping("/getMeditationIsBuy/{id}/{meditationId}") |
| | | public R<Integer> getMeditationIsBuy(@PathVariable("id")Long id,@PathVariable("meditationId")Long meditationId) { |
| | | List<Order> list = orderService.lambdaQuery().eq(Order::getBusinessId, meditationId) |
| | |
| | | return R.ok(1); |
| | | } |
| | | } |
| | | |
| | | @PostMapping("/payOrder") |
| | | @ApiOperation(value = "已购详情-待支付状态-页面数据",tags = "我的已购") |
| | | @ApiImplicitParams({ |