快乐的昕的电脑
2025-09-03 d87ecaf162d07c44c9fe861d049f59e100b561d1
Scripts/config.js
@@ -1,7 +1,7 @@
/*var APIURL = "http://192.168.1.145:83/api/";*/
var APIURL = "http://localhost:5204/api/";
/*var APIURL_PC = "http://192.168.1.145:81/";*/
var APIURL_PC = "http://192.168.1.145:8081/";//测试
var APIURL_PC = "http://192.168.1.145:81/";//测试
var APIURL_IMAGE = APIURL_PC+"upload/";
var ISNEEDLOGIN = true;
String.prototype.trim = function () {
@@ -82,6 +82,8 @@
        url = (APIURL_PC + url);
    }
    let headers = { 'Content-Type': 'application/json', }
    var orgId = Cookies.get('orgId')
    headers['OrgId'] = orgId;
    if (isToken) {
        var timestamp = (new Date()).getTime();
        var token = Cookies.get('loginGuid')