whyclxw
2021-04-17 88e565486dfbf818cb097a3ea07864720b7ea4dd
用户登录验证密码
1个文件已修改
6 ■■■■ 已修改文件
DyEnvir_system/src/com/fgkj/services/User_infService.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DyEnvir_system/src/com/fgkj/services/User_infService.java
@@ -85,9 +85,9 @@
            // System.out.println("用户名不存在");
        } else {
            User_inf u = (User_inf) list.get(list.size()-1);
            /*if (!uinf.getUpassword().equals(u.getUpassword())) {
            if (!uinf.getUpassword().equals(u.getUpassword())) {
                model.setMsg(getText("密码错误"));
            } else {*/
            } else {
                model.setCode(1);
                model.setData(u.getUNote());
                model.setMsg("index.jsp");
@@ -114,7 +114,7 @@
                }*/
                //将新登录的用户存入application
                setApplication(u);
            //}
            }
        }
        return model;
    }