no message

This commit is contained in:
DESKTOP-RQ919RC\Pc 2025-04-07 10:50:59 +08:00
parent 2e2d9db4e6
commit 08642cd841

View File

@ -9,7 +9,7 @@ if (["localhost", "127.0.0.1"].includes(location.hostname)) {
function $ajax(url) {
var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
url = url.indexOf("https://") == -1 ? (location.host.indexOf("demo.gter.net") > -1 ? projectBaseURL2 + url : projectBaseURL + url) : url;
url = url.indexOf("https://") == -1 ? projectBaseURL2 + url : url;
if (["localhost", "127.0.0.1"].includes(location.hostname)) data["authorization"] = "3338bf6a2e53dda872da3664a2560b25";
@ -40,7 +40,7 @@ function $ajaxget(url, data) {
// data["authorization"] = "97d1c7b2fe6dec05aaf52c0f3b9130e8"
if (["localhost", "127.0.0.1"].includes(location.hostname)) data["authorization"] = "3338bf6a2e53dda872da3664a2560b25";
url = url.indexOf("https://") == -1 ? (location.host.indexOf("demo.gter.net") > -1 ? projectBaseURL2 + url : projectBaseURL + url) : url;
url = url.indexOf("https://") == -1 ? projectBaseURL2 + url : url;
url += objectToQueryString(data);
return new Promise((resolve, reject) => {