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 @@ -