Browse Source

IOT日志上传2

chenshibin 3 years ago
parent
commit
84cc077ec9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Controller/IotCoreController.py

+ 1 - 1
Controller/IotCoreController.py

@@ -360,7 +360,7 @@ class IotCoreView(View):
             endpoint = iot[0]['endpoint']
             MSG = self.get_s3_key_return_msg(endpoint)
 
-            return response.json(MSG)
+            return response.json(0,MSG)
         except Exception as e:
             # print(e)
             return response.json(500, repr(e))