chenjunkai 6 年之前
父节点
当前提交
af8d04b0c6
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Controller/OTAEquipment.py

+ 2 - 1
Controller/OTAEquipment.py

@@ -463,7 +463,8 @@ def getNewVerInterface(request):
         tko = UrlTokenObject()
         file_path = tko.generate(data={'Url': "ansjer/" + CommonService.RandomStr(6) + "/" + file_path})
 
-        url = SERVER_DOMAIN + 'dlotapack/' + file_path
+        url = 'http://www.zositech.xyz/dlotapack/' + file_path
+        # url = SERVER_DOMAIN + 'dlotapack/' + file_path
         # url = SERVER_DOMAIN + 'OTA/downloadsPack/' + file_path + '?time=' + str(time.time())
         return response.json(0, {
             'ver': ver,