示例#1
0
 def delete(self, request, id):
     logParamInfo(self, request = request, id = id)
     return self.destroy(request, id)
示例#2
0
 def put(self, request, id):
     logParamInfo(self, request = request, id = id)
     return self.update(request, id)
示例#3
0
 def post(self, request):
     logParamInfo(self, request = request)
     return self.create(request)
示例#4
0
 def get(self, request, id):
     logParamInfo(self, request = request, id = id)
     return self.retrieve(request)
示例#5
0
 def get(self, request):
     logParamInfo(self, request = request)
     return self.list(request)