| | |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(value = "提现记录id", name = "id", dataType = "Integer", required = true) |
| | | }) |
| | | public R<Withdraw> withdrawRecordDetail(@RequestParam Integer id) { |
| | | public R<Withdraw> withdrawRecordDetail(@RequestParam Long id) { |
| | | return withdrawClient.withdrawRecordDetail(id); |
| | | } |
| | | |
| | |
| | | @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) { |
| | | Withdraw withdraw = withdrawClient.withdrawRecordDetail(id).getData(); |
| | | if (null == withdraw) { |
| | | throw new GlobalException("提现记录不存在或已删除!"); |