| | |
| | | */ |
| | | public String login(String username, String password, Boolean type,String code,String uuid) { |
| | | |
| | | |
| | | String aSwitch = configService.selectConfigByKey("captcha_switch"); |
| | | if(null !=aSwitch && aSwitch.equalsIgnoreCase("Y")){ |
| | | String verifyKey = CacheConstants.CAPTCHA_CODE_KEY + uuid; |
| | |
| | | } |
| | | AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_SUCCESS, MessageUtils.message("user.login.success"))); |
| | | LoginUser loginUser = (LoginUser) authentication.getPrincipal(); |
| | | |
| | | recordLoginInfo(Long.valueOf(loginUser.getUserId())); |
| | | |
| | | //校验商家过期否 |
| | | if (secretKeyLogin) |
| | | { |