浏览代码

去除UID限制20位

chenshibin 3 年之前
父节点
当前提交
bc9d9b1b76
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Controller/AppLogController.py

+ 2 - 2
Controller/AppLogController.py

@@ -83,8 +83,8 @@ class AppLogView(View):
         if uid is None or average_delay is None or status is None or filename is None:
         if uid is None or average_delay is None or status is None or filename is None:
             return response.json(444)
             return response.json(444)
         else:
         else:
-            if len(uid) < 20:
-                return response.json(444, 'uid')
+            # if len(uid) < 20:
+            #     return response.json(444, 'uid')
 
 
             # ModelService.app_log_log(userID, uid)
             # ModelService.app_log_log(userID, uid)
             now_time = int(time.time())
             now_time = int(time.time())