@@ -233,6 +233,8 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
} catch (Exception e) {
throw new BizException("密码加密出错", ResultCode.PASSWORD_ENCRYPT_ERROR);
}
+
addUser.setPassword(password);
Integer distributorId = user.getDistributorId();
//根据id查询维修厂