新版仿ok交易所-后端
1
zj
2025-10-22 ad5dac68b2627984fa64613492fd89ec3ed07e30
1
1 files modified
6 ■■■■ changed files
trading-order-service/src/main/java/com/yami/trading/service/impl/UserServiceImpl.java 6 ●●●● patch | view | raw | blame | history
trading-order-service/src/main/java/com/yami/trading/service/impl/UserServiceImpl.java
@@ -1315,9 +1315,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);
        }