Преглед изворни кода

欧洲查询序列号状态使用HTTP

zhangdongming пре 1 година
родитељ
комит
5dd5b4d09a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Controller/TestApi.py

+ 1 - 1
Controller/TestApi.py

@@ -1003,7 +1003,7 @@ class testView(View):
             results1["result"]["domainName"] = "https://www.dvema.com"
             results_data.append(results1["result"])
 
-            res2 = requests.post("https://api.zositeche.com/testApi/getSerialNumberInfo",
+            res2 = requests.post("http://api.zositeche.com/testApi/getSerialNumberInfo",
                                  data={'serialNumber': serial_number}, timeout=15)
             results2 = json.loads(res2.text)
             results2['result']['server'] = 3