|
@@ -299,6 +299,7 @@ public class UserService {
|
|
|
|
|
|
public void refreshToken(DeviceUserVo deviceUserVo) {
|
|
public void refreshToken(DeviceUserVo deviceUserVo) {
|
|
String token = SecurityManager.generateToken(deviceUserVo.getPassword());
|
|
String token = SecurityManager.generateToken(deviceUserVo.getPassword());
|
|
|
|
+ log.info("token ======================= ,{}",token);
|
|
Date nowTime = new Date();
|
|
Date nowTime = new Date();
|
|
Date expireAt = DateUtils.addSeconds(nowTime, this.expiration);
|
|
Date expireAt = DateUtils.addSeconds(nowTime, this.expiration);
|
|
deviceUserVo.setToken(token);
|
|
deviceUserVo.setToken(token);
|