瀏覽代碼

诊断日志接口,对上传的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,