Explorar el Código

新增https接口请求

wuyongxiang hace 4 años
padre
commit
aa113814f1
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      screenH5/homeNew.html

+ 3 - 3
screenH5/homeNew.html

@@ -410,7 +410,7 @@
 							"userCardId": this.homeList[activeIndex].id,
 							"deviceStatus": 1,
 						};
-						var baseUrl = "http://192.168.31.20";
+						var baseUrl = "https://192.168.31.20";
 						var urlss = 'test.androidscloud.com'
 						$.ajax({
 							url: baseUrl + "/api/storage/v1/cardStatus/getRbd",
@@ -472,7 +472,7 @@
 							"userCardId": this.homeList[activeIndex].id,
 							"deviceStatus": 1,
 						};
-						var baseUrl = "http://192.168.31.20";
+						var baseUrl = "https://192.168.31.20";
 						var urlss = 'test.androidscloud.com'
 						$.ajax({
 							url: baseUrl + "/api/storage/v1/cardStatus/getRbd",
@@ -534,7 +534,7 @@
 					},
 					gethomeList() {
 						// var baseUrl = 'https://test.androidscloud.com';
-						var baseUrl = "http://192.168.31.20";
+						var baseUrl = "https://192.168.31.20";
 						var query = window.location.search.substring(1);
 						var vars = query.split("&");
 						var tokens = vars.find(e => {