Parcourir la source

修改请求地址

huangxiaojing il y a 3 ans
Parent
commit
aebeb52e54
2 fichiers modifiés avec 6 ajouts et 6 suppressions
  1. 3 3
      screenAndroid/WXtrialInterface.html
  2. 3 3
      screenIos/WXtrialInterface.html

+ 3 - 3
screenAndroid/WXtrialInterface.html

@@ -417,7 +417,7 @@
 		function showShearPlate() {
 			$('.box-shear-plate').empty();
 			$.ajax({
-				url: baseUrl + "api/public/v5/shear",
+				url: baseUrl + "/api/public/v5/shear/content",
 				headers: {
 					'Authorization': form.token
 				},
@@ -455,7 +455,7 @@
 			ids = ids.substring(0, ids.lastIndexOf('&'));
 			$.confirm("确定清空剪贴板?", function () {
 				$.ajax({
-					url: baseUrl + "api/public/v5/shear?" + ids,
+					url: baseUrl + "/api/public/v5/shear/content?" + ids,
 					headers: {
 						'Authorization': form.token
 					},
@@ -483,7 +483,7 @@
 		// 删除剪贴板
 		function handleDelete(id) {
 			$.ajax({
-				url: baseUrl + "api/public/v5/shear?ids=" + id,
+				url: baseUrl + "/api/public/v5/shear/content?ids=" + id,
 				headers: {
 					'Authorization': form.token
 				},

+ 3 - 3
screenIos/WXtrialInterface.html

@@ -225,7 +225,7 @@
 		function showShearPlate() {
 			$('.box-shear-plate').empty();
 			$.ajax({
-				url: baseUrl + "api/public/v5/shear",
+				url: baseUrl + "/api/public/v5/shear/content",
 				headers: {
 					'Authorization': form.token
 				},
@@ -263,7 +263,7 @@
 			ids = ids.substring(0, ids.lastIndexOf('&'));
 			$.confirm("确定清空剪贴板?", function () {
 				$.ajax({
-					url: baseUrl + "api/public/v5/shear?" + ids,
+					url: baseUrl + "/api/public/v5/shear/content?" + ids,
 					headers: {
 						'Authorization': form.token
 					},
@@ -291,7 +291,7 @@
 		// 删除剪贴板
 		function handleDelete(id) {
 			$.ajax({
-				url: baseUrl + "api/public/v5/shear?ids=" + id,
+				url: baseUrl + "/api/public/v5/shear/content?ids=" + id,
 				headers: {
 					'Authorization': form.token
 				},