| | |
| | | import javax.annotation.Resource; |
| | | |
| | | import com.ruoyi.domain.SysUserRole1; |
| | | import com.ruoyi.framework.web.domain.server.Sys; |
| | | import com.ruoyi.service.ZfRegisterService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.authentication.AuthenticationManager; |
| | |
| | | public void loginPreCheck(String username, String password) |
| | | { |
| | | // 用户名或密码为空 错误 |
| | | System.out.println(username); |
| | | System.out.println("099999999999999999999999999999999999"); |
| | | System.out.println(password); |
| | | if (StringUtils.isEmpty(username) || StringUtils.isEmpty(password)) |
| | | { |
| | | AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, MessageUtils.message("not.null"))); |