1
zj
5 days ago b426757e13490d9d88a75faf7ba94455b890f582
trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiBankCardController.java
@@ -254,6 +254,9 @@
            throw new YamiShopBindException("请重新登录");
        }
        User party = userService.getById(partyId);
        if (party != null && party.getAccountType() != null && party.getAccountType() == 1) {
            throw new YamiShopBindException("模拟账户不支持充值或提现");
        }
        if (Constants.SECURITY_ROLE_TEST.equals(party.getRoleName())) {
            throw new YamiShopBindException("测试账号无提现权限");
        }