| | |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.doumee.core.constants.Constants; |
| | | import com.doumee.dao.business.model.Member; |
| | | import com.doumee.dao.vo.WebLoginUserVO; |
| | | import io.jsonwebtoken.Jwts; |
| | | import io.jsonwebtoken.SignatureAlgorithm; |
| | |
| | | * @param token 原令牌 |
| | | * @return 新令牌 |
| | | */ |
| | | public void refreshToken(String token,Member member) { |
| | | public void refreshToken(String token,Object member) { |
| | | try { |
| | | if(Objects.nonNull(member)){ |
| | | // redisTemplate.expire(Constants.REDIS_TOKEN_KEY+token,jwtProperties.getExpiration(), TimeUnit.MILLISECONDS); |