示例#1
0
文件: views.py 项目: sm00th1980/noc
def index(request):
    return wrapper(request=request, req_params=['device'], worker=worker, context='device', type='json')
示例#2
0
文件: views.py 项目: sm00th1980/noc
def index(request):
    return wrapper(request=request, req_params=['query', 'page', 'limit'], worker=worker, context='search', type='json')
示例#3
0
文件: views.py 项目: sm00th1980/noc
def index(request):
    return wrapper(request=request, req_params=['contract', 'page', 'limit'], worker=worker, context='session', type='json')
示例#4
0
文件: views.py 项目: sm00th1980/noc
def index(request):
    return wrapper(request=request, req_params=['device', 'name', 'ip', 'location', 'notes'], worker=worker, context='device', type='json')