Browse Source

诊断日志接口,对上传的uid去除空格处理

tanghongbin 4 năm trước cách đây
mục cha
commit
27b1dfc20b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Controller/AppLogController.py

+ 1 - 1
Controller/AppLogController.py

@@ -74,7 +74,7 @@ class AppLogView(View):
             ModelService.app_log_log(userID, uid)
             now_time = int(time.time())
             data = {
-                'uid': uid,
+                'uid': uid.strip(),
                 'average_delay': average_delay,
                 'status': status,
                 'filename': filename,