public void facebookJoin(MemberVo memberVo, String email, String memberName, String imageUrl) { if (memberDao.checkEmail(email) != null) { System.out.println("아이디 있음 아이디:" + email); } else { memberDao.facebookJoin(email, memberName, imageUrl); } }
public void facebookLogin(HttpSession session, String email) { MemberVo vo = memberDao.checkEmail(email); session.setAttribute("authUser", vo); }