zhangdongming 3 жил өмнө
parent
commit
7e4690ef1c

+ 3 - 1
Controller/OTAEquipment.py

@@ -550,11 +550,13 @@ def getNewVerInterface(request):
             #     url = 'http://www.zositech.xyz/dlotapack/' + file_path
             # else:
             #     url = SERVER_DOMAIN + 'dlotapack/' + file_path
-            return response.json(0, {
+            result = response.json(0, {
                 'ver': ver,
                 'url': url,
                 "Description": equipment.Description,
             })
+            logger.info('<<<<<响应结果={}'.format(result))
+            return result
         else:
             return response.json(902)
     else: