|
|
@@ -671,7 +671,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
|
|
|
if (ObjectUtils.isNotNull(bo.getIdcard())){
|
|
|
pwd = bo.getIdcard().substring(bo.getIdcard().length() - 6);
|
|
|
}else {
|
|
|
- pwd = bo.getIdcard().substring(bo.getTel().length() - 6);
|
|
|
+ pwd = bo.getTel().substring(bo.getTel().length() - 6);
|
|
|
}
|
|
|
inertData.setPassword(SecurityUtils.encryptPassword(pwd));
|
|
|
if(!save(inertData)){
|