mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-22 08:19:04 +00:00
定义通用模块执行
This commit is contained in:
@@ -10,6 +10,11 @@ from jperm.models import PermRole
|
||||
from jperm.models import PermRule
|
||||
|
||||
|
||||
class PermGet(object):
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
|
||||
def get_object_list(model, id_list):
|
||||
"""根据id列表获取对象列表"""
|
||||
object_list = []
|
||||
|
Reference in New Issue
Block a user