服务部分修改

This commit is contained in:
方亮 2026-02-06 14:51:51 +08:00
parent b5a2713ce4
commit 0939312f07
5 changed files with 19 additions and 7 deletions

View File

@ -12,6 +12,7 @@
<script src="../resource/js/layer.js" type="text/javascript" charset="utf-8"></script>
<script src="../resource/js/mui.min.js"></script>
<script src="../resource/js/jquery.md5.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/public.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" src="../js/pageController.js"></script>
<script type="text/javascript">
mui.init();

View File

@ -1,5 +1,5 @@
localStorage.setItem("url", "http://10.1.0.142:1935/gz_imw")
//localStorage.setItem("url", "http://192.168.0.16:18086/GZMachinesWeb")
//localStorage.setItem("url", "http://10.1.0.142:1935/gz_imw")
localStorage.setItem("url", "http://192.168.0.38:8080/GZMachinesWeb")
//localStorage.setItem("url", "http://192.168.8.103:8080/gz_imw")
//localStorage.setItem("url", "http://172.20.10.3:8080/GZMachinesWeb");
//localStorage.setItem("url", "http://36.33.26.177:1356/GZMachinesWeb");

View File

@ -244,11 +244,11 @@ function checkLoginAndNavigate(targetUrl) {
// 否则先获取安全模块token
console.log('⏳ 安全模块Token不存在正在获取...');
console.log('调用安全模块登陆接口: http://10.1.0.142:1999/gz_aqgqj/login/userLogin');
console.log('调用安全模块登陆接口:'+commonUrl+'/gz_aqgqj/login/userLogin');
$.ajax({
type: "post",
url: "http://10.1.0.142:1999/gz_aqgqj/login/userLogin",
url: commonUrl+"/login/userLogin",
data: {
username: loginName,
password: $.md5(password)

View File

@ -1 +1,12 @@
const commonUrl = 'http://192.168.0.133:8080/gz-car/';
const commonIP = 'http://192.168.0.38:21520';
const commonService = commonIP+"/gz-aqgqj";
//生产
//const commonUrl = http://10.1.0.142:1999/gz_aqgqj

View File

@ -7,9 +7,9 @@ import java.util.List;
public class WorkConfig {
// protected static final String gzmaUrl = "http://10.1.0.142:1935/GZMachinesWeb/";
// protected static final String gzmaUrl = "http://192.168.2.5:8080/GZMachinesWeb/";
protected static final String gzmaUrl = "http://192.168.0.38:8080/GZMachinesWeb/";
//protected static final String gzmaUrl = "http://192.168.8.103:8080/gz_imw/";
protected static final String gzmaUrl = "http://10.1.0.142:1935/gz_imw/";
// protected static final String gzmaUrl = "http://10.1.0.142:1935/gz_imw/";
public static String getGzmaUrl() {