소스 검색

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

tanghongbin 4 년 전
부모
커밋
27b1dfc20b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,