From 89b6f09226d85ac277ebc4a1b65ad28911b3509f Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期五, 28 三月 2025 13:08:19 +0800
Subject: [PATCH] 1.菜单表体页面优化 2.标题样式调整
---
Scripts/config.js | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Scripts/config.js b/Scripts/config.js
index 4b3df46..075e6d8 100644
--- a/Scripts/config.js
+++ b/Scripts/config.js
@@ -1,6 +1,7 @@
-锘縱ar APIURL = "http://192.168.1.145:83/api/";
-//var APIURL = "http://localhost:5204/api/";
-var APIURL_PC = "http://192.168.1.145:81/api/";
+锘�//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_IMAGE = APIURL_PC+"upload/";
var ISNEEDLOGIN = true;
String.prototype.trim = function () {
return this.replace(/(^\s*)|(\s*$)/g, "");
@@ -82,9 +83,8 @@
let headers = { 'Content-Type': 'application/json', }
if (isToken) {
var timestamp = (new Date()).getTime();
- /*var token = "BasicAuth " + timestamp + "_" + Cookies.get('loginGuid');*/
- var token = "token " + "aa649c62-a6ec-4b75-a97d-b0966485104c~969adcd4-457f-43db-9faf-5fb03ed95765";
- headers['Authorization'] = token;
+ var token = Cookies.get('loginGuid')
+ headers['token'] = token;
}
if (method == 'get') {
// console.log("params")
--
Gitblit v1.9.3