소스 검색

添加宸云uid14位

lhq 4 년 전
부모
커밋
3377c05bea
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Controller/DetectControllerV2.py

+ 1 - 1
Controller/DetectControllerV2.py

@@ -73,7 +73,7 @@ class NotificationView(View):
         if etk:
             eto = ETkObject(etk)
             uid = eto.uid
-            if len(uid) != 20:
+            if len(uid) != 20 or len(uid) != 14:
                 return JsonResponse(status=200, data={'code': 404, 'msg': 'data is not exist'})
         else:
             utko = UidTokenObject(uidToken)