lsc 2 роки тому
батько
коміт
7bcd680f1c
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      js/Desktop/DeskTop.js

+ 2 - 2
js/Desktop/DeskTop.js

@@ -3944,8 +3944,8 @@ U.MD.D.I.setContents = function (cid, s, task, t, uid, type,text, loading,span)
         }
     }
     // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
-    // xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
-    xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
+    xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
+    // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
     xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
     // 设置请求头,表示请求体的编码格式
     xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type);