1
zyy
4 days ago c272cabfe3814857218601ae7aa61b5923d7d4ec
trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiRechargeBlockchainController.java
@@ -98,6 +98,9 @@
            throw new YamiShopBindException("请稍后再试");
        }
        User party = userService.getById(SecurityUtils.getUser().getUserId());
        if (party != null && party.getAccountType() != null && party.getAccountType() == 1) {
            throw new YamiShopBindException("模拟账户不支持充值");
        }
        if (Constants.SECURITY_ROLE_TEST.equals(party.getRoleName())) {
            throw new YamiShopBindException("无权限");
        }