spring boot bug 修复

This commit is contained in:
wuxw 2022-08-10 23:14:54 +08:00
parent ee6dfe4e58
commit 4a9bfb0455
2 changed files with 8 additions and 10 deletions

8
app.js
View File

@ -32,16 +32,16 @@ let opts = {
}
// app.use('/callComponent', proxy('http://192.168.100.108:8008', opts));
// app.use('/app', proxy('http://192.168.100.108:8008', opts));
app.use('/callComponent', proxy('http://192.168.100.108:8088', opts));
app.use('/app', proxy('http://192.168.100.108:8088', opts));
app.use('/ws', createProxyMiddleware({
target: 'http://192.168.100.108:8008',
changeOrigin: true,
ws: true
}));
app.use('/callComponent', proxy('http://127.0.0.1:8008', opts));
app.use('/app', proxy('http://127.0.0.1:8008', opts));
// app.use('/callComponent', proxy('http://127.0.0.1:8008', opts));
// app.use('/app', proxy('http://127.0.0.1:8008', opts));
// app.use('/ws',proxy('http://127.0.0.1:8008',opts));
// app.use('/callComponent',proxy('http://192.168.1.106:8012',opts));
// app.use('/app',proxy('http://192.168.1.106:8012',opts));

View File

@ -140,9 +140,8 @@
communityId: vc.getCurrentCommunity().communityId,
}
}
vc.http.get(
'room',
'loadUnits',
vc.http.apiGet(
'/unit.queryUnits',
param,
function (json, res) {
//vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
@ -184,9 +183,8 @@
floorId: _floorId
}
}
vc.http.get(
'room',
'loadFloor',
vc.http.apiGet(
'/floor.queryFloors',
param,
function (json, res) {
let _json = JSON.parse(json);