定义通用模块执行

This commit is contained in:
ibuler
2015-11-20 21:30:57 +08:00
parent ab313aacd8
commit eea56ea0e5
4 changed files with 25 additions and 12 deletions

View File

@@ -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 = []