新版仿ok交易所-后端
peter
2025-09-02 31ca313cfbdd0e1805d48de0fca339121254fab8
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);
        }