From 08d8f975f79e2de37fb428eeb06c4504271f63b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=88=E5=A4=95=E8=8A=B1=E6=99=A8?= <825210484@qq.com> Date: Fri, 24 May 2024 11:04:48 +0800 Subject: [PATCH] =?UTF-8?q?wps=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/oaassist/publish.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/test/oaassist/publish.html b/test/oaassist/publish.html index 8cbca16..2ceb5a2 100644 --- a/test/oaassist/publish.html +++ b/test/oaassist/publish.html @@ -372,9 +372,7 @@ var xmlReq = getHttpObj(); var offline = element.online === "false"; var url = offline ? element.url : element.url + "ribbon.xml"; - // xmlReq.open("POST", "http://localhost:58890/redirect/runParams"); - // http://webtest.ningdatech.com/ - xmlReq.open("POST", "http://webtest.ningdatech.com/wpspublishapi/redirect/runParams"); + xmlReq.open("POST", "http://localhost:58890/redirect/runParams"); xmlReq.onload = function (res) { if ((offline && res.target.response.startsWith("7z")) || !offline && res.target.response.startsWith("= "1.0.2" && serverId != undefined) baseData = JSON.stringify({ serverId: serverId }); - var req = { url: "http://webtest.ningdatech.com/wpspublishapi/publishlist", type: "POST" }; + var req = { url: "http://127.0.0.1:58890/publishlist", type: "POST" }; startWps(req, baseData, function (res) { if (res.status == 0) { var addonList = document.getElementById("addonList"); @@ -578,7 +576,7 @@ var serverVersion = "wait"; function InitSdk() { - var req = { url: "http://webtest.ningdatech.com/wpspublishapi/version", type: "POST" }; + var req = { url: "http://127.0.0.1:58890/version", type: "POST" }; startWps( req, JSON.stringify({ serverId: serverId }),