| | |
| | | package com.ruoyi.auth.service; |
| | | |
| | | import com.ruoyi.system.api.RemoteUserService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | import com.ruoyi.common.core.constant.CacheConstants; |
| | |
| | | import com.ruoyi.common.core.utils.ip.IpUtils; |
| | | import com.ruoyi.common.redis.service.RedisService; |
| | | import com.ruoyi.common.security.utils.SecurityUtils; |
| | | import com.ruoyi.system.api.RemoteUserService; |
| | | import com.ruoyi.system.api.domain.SysUser; |
| | | import com.ruoyi.system.api.model.LoginUser; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Component |
| | | public class SysLoginService { |
| | | @Autowired |
| | | @Resource |
| | | private RemoteUserService remoteUserService; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private SysPasswordService passwordService; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private SysRecordLogService recordLogService; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private RedisService redisService; |
| | | |
| | | /** |