From 2152d4556971f8ea3dc9579fd051326a5405b3eb Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Mon, 25 Mar 2024 20:21:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/commonRequest.js | 7 +++++++ api/requestUrl.js | 6 ------ login.html | 1 - pages/home/navigation.html | 1 - 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/api/commonRequest.js b/api/commonRequest.js index f6e0712..e945a67 100644 --- a/api/commonRequest.js +++ b/api/commonRequest.js @@ -1,3 +1,10 @@ +const aqEnnable = true;// 参数加密开关 +const commonUrl = "http://10.40.92.33:18080/zhgd/"; +/* 登录相关 */ +const login_url = commonUrl + "auth/login"; // 登录url +const login_out = commonUrl + "auth/logout"; // 登出url +const login_page = "http://127.0.0.1:8100/login.html" // 登录页面 + // ajax 请求封装 function ajaxRequest(url, type, data, async, beforeFn, successFn, errorFn, contentType) { $.ajax({ diff --git a/api/requestUrl.js b/api/requestUrl.js index 262c47f..e69de29 100644 --- a/api/requestUrl.js +++ b/api/requestUrl.js @@ -1,6 +0,0 @@ -const aqEnnable = true;// 参数加密开关 -const commonUrl = "http://10.40.92.33:18080/zhgd/"; -/* 登录相关 */ -const login_url = commonUrl + "auth/login"; // 登录url -const login_out = commonUrl + "auth/logout"; // 登出url -const login_page = "http://127.0.0.1:8100/login.html" // 登录页面 \ No newline at end of file diff --git a/login.html b/login.html index da26bc1..aafc1d4 100644 --- a/login.html +++ b/login.html @@ -11,7 +11,6 @@ -