| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.data.domain.Page; |
| | | import org.springframework.data.domain.PageImpl; |
| | | import org.springframework.data.domain.PageRequest; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.util.DigestUtils; |
| | | |
| | | import javax.annotation.PostConstruct; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | |
| | | if (ObjectUtils.isEmpty(ctUser)){ |
| | | return ReturnFailUtils.getRepInfo("账号或密码错误,请确认后重试!"); |
| | | } |
| | | if (UserBaseConsts.USER_STATUS_2.equals(ctUser.getStatus()) || UserBaseConsts.USER_STATUS_3.equals(ctUser.getStatus())){ |
| | | if (ctUser.getStatus() != UserBaseConsts.USER_STATUS_1){ |
| | | return ReturnFailUtils.getRepInfo("账号或密码错误,请确认后重试!"); |
| | | } |
| | | // 封装用户信息 |