1
zyy
2026-04-10 cde6bf659b0d88a7d4e9d28fb13e86a4a8f5b481
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("测试账号无提现权限");
        }