示例#1
0
def get_schedule(oid):
    ctx = DBContext()
    return ctx.get('cm_schedule', oid)
示例#2
0
def get_function(oid):
    context = DBContext()
    return context.get("um_function", oid)
示例#3
0
def get_auth(oid):
    context = DBContext()
    return context.get("um_auth", oid)
示例#4
0
def get_menu(oid):
    context = DBContext()
    return context.get("um_menu", oid)