|
@@ -44,13 +44,13 @@ class Test(View):
|
|
animal_type_id=1:指定筛选条件
|
|
animal_type_id=1:指定筛选条件
|
|
'''
|
|
'''
|
|
|
|
|
|
- @method_decorator(csrf_exempt)
|
|
|
|
- def dispatch(self, *args, **kwargs):
|
|
|
|
- return super(Test, self).dispatch(*args, **kwargs)
|
|
|
|
|
|
+ # @method_decorator(csrf_exempt)
|
|
|
|
+ # def dispatch(self, *args, **kwargs):
|
|
|
|
+ # return super(Test, self).dispatch(*args, **kwargs)
|
|
|
|
|
|
def get(self, request, *args, **kwargs):
|
|
def get(self, request, *args, **kwargs):
|
|
- # response = ResponseObject()
|
|
|
|
- # return response.json(474)
|
|
|
|
|
|
+ response = ResponseObject()
|
|
|
|
+ return response.json(474)
|
|
return self.updatePrimaryMaster()
|
|
return self.updatePrimaryMaster()
|
|
# 增加
|
|
# 增加
|
|
|
|
|