Helius
2020-11-13 69926c94a4ee935f6dd3f8878ebecb6e9c1d7e0b
src/main/java/com/xcong/excoin/modules/coin/controller/Trc20Controller.java
@@ -89,6 +89,7 @@
    @PostMapping(value = "/withdrawTrcAmount")
    public Result withdrawTrcAmount(@RequestBody TrcWithdrawDto trcWithdrawDto) {
        log.info("提币审核接口参数:{}", trcWithdrawDto);
        if (!CoinTypeEnum.USDT.name().equals(trcWithdrawDto.getSymbol())) {
            return Result.fail("币种错误");
        }
@@ -97,7 +98,7 @@
            return Result.fail("状态错误");
        }
        String sign = SecureUtil.md5(trcWithdrawDto.getMemberId() + trcWithdrawDto.getOrderNo() + trcWithdrawDto.getStatus() + trcWithdrawDto.getSymbol());
        String sign = SecureUtil.md5(trcWithdrawDto.getMemberId() + trcWithdrawDto.getOrderNo() + trcWithdrawDto.getStatus() + trcWithdrawDto.getSymbol() + TRC20ApiUtils.SIGN_STR);
        if (!sign.equals(trcWithdrawDto.getKey())) {
            return Result.fail("参数错误");
        }