Explorar o código

添加宸云uid14位

lhq %!s(int64=4) %!d(string=hai) anos
pai
achega
3377c05bea
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)