diff --git a/.DS_Store b/.DS_Store index 8526573c3..15cd25b7d 100755 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/app.js b/app.js index 112518e87..e3d468ec7 100755 --- a/app.js +++ b/app.js @@ -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:8008', opts)); +// app.use('/app', proxy('http://192.168.100.108:8008', 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)); diff --git a/public/components/common/editCommunityArea/editCommunityArea.js b/public/components/common/editCommunityArea/editCommunityArea.js index 3bf4013f5..ecf18576a 100755 --- a/public/components/common/editCommunityArea/editCommunityArea.js +++ b/public/components/common/editCommunityArea/editCommunityArea.js @@ -117,7 +117,7 @@ vc.toast(vc.validate.errInfo); return; } - vc.http.post('editCommunity', 'update', JSON.stringify(vc.component.editCommunityAreaInfo), { + vc.http.apiPost('/community.updateCommunity', JSON.stringify(vc.component.editCommunityAreaInfo), { emulateJSON: true }, function (json, res) {