소스 검색

初始化设备接口记录ip1

tanghongbin 4 년 전
부모
커밋
1fa573ecc4
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Controller/UserController.py

+ 1 - 0
Controller/UserController.py

@@ -1915,6 +1915,7 @@ class InitInfoView(View):
                         'country': country
                     }
                     UserExModel.objects.create(**create_dict)
+                return response.json(0)
             else:
                 return response.json(104)
         else: