| | |
| | | import com.doumee.core.model.LoginUserInfo; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.core.utils.HttpsUtil; |
| | | import com.doumee.service.system.SystemLoginService; |
| | | import io.jsonwebtoken.Jwts; |
| | | import io.jsonwebtoken.SignatureAlgorithm; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | private JwtProperties jwtProperties; |
| | | @Autowired |
| | | private SystemDictDataBiz systemDictDataBiz ; |
| | | @Autowired |
| | | private SystemLoginService systemLoginService; |
| | | |
| | | |
| | | /** |
| | | * 生成token令牌 |
| | |
| | | HttpsUtil.get(url+"?token="+loginUserInfo.getHkMenuToken(),true); |
| | | } |
| | | redisTemplate.delete(Constants.REDIS_TOKEN_KEY+token);//删除老的token |
| | | |
| | | systemLoginService.cleanOpenid(loginUserInfo.getId()); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |