소스 검색

设备控制更新

yf_yzl 2 년 전
부모
커밋
872299e371
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      smartfarming/views/device.py

+ 3 - 0
smartfarming/views/device.py

@@ -121,6 +121,9 @@ class CbdScdXyDeviceSaveAPIView(APIView):
 
 class CbdPhotoAPIView(APIView):
 
+    permission_classes = []
+    authentication_classes = []
+
     def post(self, request):
         try:
             request_data = request.data