zyy3
2025-12-02 b967bac24b2fd662ac3b8826700fb76c26690aec
trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiPaymentMethodController.java
@@ -105,20 +105,20 @@
                throw new YamiShopBindException("Parameter value 1 is required");
            }
        }
        if (model.getReal_name().length() > 20) {
        /*if (model.getReal_name().length() > 20) {
            if (language.equals("zh-CN")) {
                throw new YamiShopBindException("真实姓名长度大于20");
            } else {
                throw new YamiShopBindException("Real name length greater than 20");
            }
        }
        if (model.getRemark().length() > 100) {
        }*/
        /*if (model.getRemark().length() > 100) {
            if (language.equals("zh-CN")) {
                throw new YamiShopBindException("备注长度大于100");
            } else {
                throw new YamiShopBindException("Note length greater than 100");
            }
        }
        }*/
        C2cPaymentMethodConfig methodConfig = c2cPaymentMethodConfigService.getById(model.getMethod_config_id());
        if (null == methodConfig) {
            
@@ -129,22 +129,22 @@
            }
        }
        if (!StrUtil.isEmpty(model.getParam_value1())) {
            if (model.getParam_value1().length() > 25) {
            /*if (model.getParam_value1().length() > 25) {
                if (language.equals("zh-CN")) {
                    throw new YamiShopBindException(methodConfig.getParamName1() + "长度大于25");
                } else {
                    throw new YamiShopBindException(model.getParam_value1() + " length greater than 25");
                }
            }
            }*/
        }
        if (!StrUtil.isEmpty(model.getParam_value2())) {
            if (model.getParam_value2().length() > 25) {
            /*if (model.getParam_value2().length() > 25) {
                if (language.equals("zh-CN")) {
                    throw new YamiShopBindException(methodConfig.getParamName2() + "长度大于25");
                } else {
                    throw new YamiShopBindException(model.getParam_value2() + " length greater than 25");
                }
            }
            }*/
        }
        String partyId = SecurityUtils.getUser().getUserId();
        if (null == partyId) {