新版仿ok交易所-后端
1
zj
2025-10-14 7ff2bf07924915fc12612c9fd8cae5915dca2560
trading-order-service/src/main/java/com/yami/trading/service/impl/UserServiceImpl.java
@@ -638,7 +638,7 @@
    }
    @Override
    public void saveRegister(String username, String password, String usercode, String safeword, String verifcode, String type) {
    public void saveRegister(String username, String password,String phone, String usercode, String safeword, String verifcode, String type) {
        username = username.trim();
        password = password.trim();
        if (!"null".equals(safeword) && !StringUtils.isEmptyString(safeword)) {
@@ -686,6 +686,7 @@
        party.setUserLevel(userLevel);
        party.setSafePassword(this.passwordEncoder.encode(safeword));
        party.setRoleName(Constants.SECURITY_ROLE_MEMBER);
        party.setUserMobile(phone);
        save(party);
//      if (reg.getUsername().indexOf("@") == -1) {
        if (type.equals("1")) {