Explorar o código

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

tanghongbin %!s(int64=4) %!d(string=hai) anos
pai
achega
27b1dfc20b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,