pzb 5 years ago
parent
commit
38c5029dfd
2 changed files with 4 additions and 1 deletions
  1. 2 1
      Service/TemplateService.py
  2. 2 0
      Service/middleware.py

+ 2 - 1
Service/TemplateService.py

@@ -65,7 +65,8 @@ class TemplateService:
             'order/querylist',
             'detect/changeStatus',
             # 'notify/push',
-            'equipment/flowUpdate'
+            'equipment/flowUpdate',
+            'wechat/authsign',
         ]
         return apiList
 

+ 2 - 0
Service/middleware.py

@@ -82,6 +82,8 @@ class StatisticsUrlMiddleware(MiddlewareMixin):
             try:
                 # mysql
                 MiscellService.batch_add_access_log(request=request, status_code=response.status_code)
+
+                print(request.path);
                 # MiscellService.add_access_log(request=request, status_code=response.status_code)
                 # mongodb版
                 # MiscellService.access_log(request=request, response=response, type=0)