新版仿ok交易所-后端
zyy
2025-10-23 f4b6b26b1ec37a534fcfc85dda943536d236ebd8
trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiUserController.java
@@ -572,7 +572,7 @@
        if (null != partyPhone && !partyPhone.getUserId().toString().equals(loginPartyId)) {
            throw new YamiShopBindException("电话号码已绑定其他用户");
        }
        String authcode = identifyingCodeTimeWindowService.getAuthCode(phone);
        /*String authcode = identifyingCodeTimeWindowService.getAuthCode(phone);
        String bind_phone_email_ver = this.sysparaService.find("bind_phone_email_ver").getSvalue();
        String bind_usercode = this.sysparaService.find("bind_usercode").getSvalue();
        // 如果是演示用户,则不判断验证码
@@ -603,7 +603,7 @@
//                  this.userRecomService.update(party.getId(), party_reco.getId());
                }
            }
        }
        }*/
        // 电话绑定成功
        party.setUserMobile(phone);
        party.setUserMobileBind(true);
@@ -637,7 +637,7 @@
        if (null != partyEmail && !partyEmail.getUserId().toString().equals(loginPartyId)) {
            throw new YamiShopBindException("邮箱已绑定其他用户");
        }
        String authcode = this.identifyingCodeTimeWindowService.getAuthCode(email);
        /*String authcode = this.identifyingCodeTimeWindowService.getAuthCode(email);
        String bind_phone_email_ver = sysparaService.find("bind_phone_email_ver").getSvalue();
        // 如果是演示用户,则不判断验证码
        if (!"GUEST".contentEquals(party.getRoleName())) {
@@ -649,7 +649,7 @@
                    throw new YamiShopBindException("验证码不正确");
                }
            }
        }
        }*/
        // 邮箱绑定成功
        party.setUserMail(email);
        party.setMailBind(true);