//登录
@RequestMapping("denglu")
public HashMap<String ,Object> dengl(ZhcgDao zhcgDao){
HashMap<String, Object> map=new HashMap<String,Object>();
String username=zhcgDao.getUsername();
String password=zhcgDao.getPassword();
ZhcgDao z=zhcgServer.findByUsernameAndPassword(username, password);
if (null!=z) {
map.put("", "登录成功");
}else {
map.put("", "登录失败");
}
return map;
}
springboot登录
最新推荐文章于 2024-07-16 00:00:00 发布