Răsfoiți Sursa

添加日志记录时区问题

tanghongbin 4 ani în urmă
părinte
comite
2253848495
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      Controller/DetectController.py

+ 2 - 0
Controller/DetectController.py

@@ -30,6 +30,7 @@ from Object.ResponseObject import ResponseObject
 from Object.TokenObject import TokenObject
 from Object.UidTokenObject import UidTokenObject
 from Service.CommonService import CommonService
+from Service.ModelService import ModelService
 
 '''
 http://test.push.dvema.com/notify/push?uidToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJUNEFaM0NVS0NFUkg5RlpBMTExQSJ9.GtrXeq5gb2Z9M3mKECxi9eNQbPxqC-6PtgJkOOg6PwI&n_time=1598456451&channel=1&event_type=1&is_st=1
@@ -171,6 +172,7 @@ class DetectControllerView(View):
         tz = request_dict.get('tz', '0')
         # 消息提醒功能新增
 
+        ModelService.add_tmp_log('tz='+tz)
         # 如果传空上来,就默认为0
         if tz == '':
             tz = 0