新版仿ok交易所-后端
peter
2025-08-04 7b44e1c44978ca08aeab9e92560e75793e73583c
trading-order-service/src/main/java/com/yami/trading/service/impl/UserServiceImpl.java
@@ -1276,9 +1276,9 @@
            if (user != null) {
                throw new YamiShopBindException("账号已存在!");
            }
            if (!isValidUsername(userName)) {
                throw new YamiShopBindException("用户名不合法!");
            }
//            if (!isValidUsername(userName)) {
//                throw new YamiShopBindException("用户名不合法!");
//            }
            user = new User();
            user.setUserName(userName);
        }