Commit 369793c5 by tntxia

UserDTO返回用户密码是否过期

parent 78b986c3
...@@ -1026,6 +1026,8 @@ public class UserServiceImpl extends ServiceImpl<IUserMapper, UserEntity> implem ...@@ -1026,6 +1026,8 @@ public class UserServiceImpl extends ServiceImpl<IUserMapper, UserEntity> implem
.mqttUsername(entity.getMqttUsername()) .mqttUsername(entity.getMqttUsername())
.mqttPassword(entity.getMqttPassword()) .mqttPassword(entity.getMqttPassword())
.mqttAddr(MqttPropertyConfiguration.getNetMqttAddress()) .mqttAddr(MqttPropertyConfiguration.getNetMqttAddress())
// 判断密码是否过期
.passwordExpired(isPasswordExpired(entity))
.build(); .build();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment