| | |
| | | |
| | | @ExceptionHandler(value = FebsException.class) |
| | | public FebsResponse handleFebsException(FebsException e) { |
| | | return new FebsResponse().code(HttpStatus.INTERNAL_SERVER_ERROR).message("数据升级中,请稍后"); |
| | | return new FebsResponse().code(HttpStatus.INTERNAL_SERVER_ERROR).message(e.getMessage()); |
| | | // return new FebsResponse().code(HttpStatus.INTERNAL_SERVER_ERROR).message("数据升级中,请稍后"); |
| | | } |
| | | |
| | | /** |
| | |
| | | } |
| | | BigDecimal feeUsdt = withdrawCnt.multiply(feePercent).setScale(2, BigDecimal.ROUND_DOWN); |
| | | |
| | | return feeUsdt.divide(priceDto.getAmount(), 2, BigDecimal.ROUND_DOWN); |
| | | return feeUsdt; |
| | | |
| | | // return feeUsdt.divide(priceDto.getAmount(), 2, BigDecimal.ROUND_DOWN); |
| | | } |
| | | |
| | | @Override |