From b7d9125215f4535f24d30f694af74e2d71015575 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Tue, 9 Aug 2022 01:30:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .DS_Store | Bin 8196 -> 8196 bytes app.js | 8 ++++---- .../editCommunityArea/editCommunityArea.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.DS_Store b/.DS_Store index 8526573c39f54fbd2fc4ed18ca22836e104a6b14..15cd25b7dc7951f12433d60c1fe0dd622e10f2f2 100755 GIT binary patch delta 33 ocmZp1XmQvOE+k@NXsM%MWMNpVqfl*WWT2y9Vra2BTWBUP0Gn$F*#H0l delta 33 ncmZp1XmQvOE+k@PY^tMRZd$9OP;F>r0AyPj7;MfKn#l_Qn`H>j 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) {