浏览代码

添加宸云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)