refactor: 重构优化用户授权树工具类和用户授权树过期条件处理逻辑 <UserPermTreeRefreshUtil> <UserPermTreeExpireUtil>

This commit is contained in:
Bai
2022-12-09 13:05:34 +08:00
committed by Jiangjie.Bai
parent 4f5cc56b00
commit 1679efe2c9
8 changed files with 167 additions and 317 deletions

View File

@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-
import uuid
from django.db import models, IntegrityError
from django.db import models
from django.utils.translation import ugettext_lazy as _
from common.utils import lazyproperty
from orgs.mixins.models import OrgModelMixin
from common.utils import lazyproperty
__all__ = ['UserGroup']