@NotNeedLogin @RequestMapping("/login") public String login() { String username = $c("username").trim().toLowerCase(); String password = $c("password"); password = MD5Util.getMD5String(username, password); sysAccountService.doLoginForMember(username, password); return "redirect:/lottery/index.do"; }
@NotNeedLogin @RequestMapping("/logout") public String logout() { sysAccountService.doLogoutForMember(); return "redirect:/index.do"; }