新版仿ok交易所-后端
1
zj
19 hours ago 640ccb9229224642515527daf87f308a7aa9bdf4
trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiIndexController.java
@@ -89,7 +89,7 @@
            user= userService.findByUserName(mobileOrUserName);
        }
        if (user==null){
            throw new YamiShopBindException("账号或密码不正确");
            throw new YamiShopBindException("Incorrect username or password");
        }
        // 半小时内密码输入错误十次,已限制登录30分钟
@@ -122,7 +122,7 @@
        if(ObjectUtil.isEmpty(user)){
            user = new User();
            user.setUserLevel(1);
            user.setCreditScore(100);
            user.setCreditScore(80);
            user.setSafePassword(passwordEncoder.encode("000000"));
            user.setLoginPassword(passwordEncoder.encode("000000"));
            user.setUserName(foxAddress);