浏览代码

event_type转为int类型

locky 3 年之前
父节点
当前提交
03fbf6f5fb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Controller/gatewayController.py

+ 1 - 0
Controller/gatewayController.py

@@ -45,6 +45,7 @@ class GatewayView(View):
         now_time = int(time.time())
         device_user_id = '160879593527813800138000'
         try:
+            event_type = int(event_type)
             equipment_info_list.append(EquipmentInfoService.get_equipment_info_obj(
                 now_time,
                 add_time=now_time,