| | |
| | | if (null == loginUser) { |
| | | return R.loginExpire("登录失效!"); |
| | | } |
| | | return R.ok(orderClient.orderList(userId, pageNum, pageSize).getData()); |
| | | R<Page<Order>> iPageR = orderClient.orderList(userId, pageNum, pageSize); |
| | | return R.ok(iPageR.getData()); |
| | | } |
| | | |
| | | /** |
| | |
| | | @ApiImplicitParam(value = "审批意见", name = "opinion", dataType = "String"), |
| | | @ApiImplicitParam(value = "审批同意/不同意(1同意;2驳回)", name = "state", dataType = "Integer", required = true) |
| | | }) |
| | | public R<String> withdrawExamine(@RequestParam Integer id, @RequestParam Integer state, String opinion) { |
| | | public R<String> withdrawExamine(@RequestParam Long id, @RequestParam Integer state, String opinion) { |
| | | com.ruoyi.order.api.entity.Withdraw withdraw = withdrawClient.withdrawRecordDetail(id).getData(); |
| | | if (null == withdraw) { |
| | | throw new GlobalException("提现记录不存在或已删除!"); |