From b169da6d1bf2098a4606024131d46a70d4f60e5b Mon Sep 17 00:00:00 2001 From: kubbo <390378816@qq.com> Date: Mon, 21 Nov 2022 16:39:35 +0800 Subject: [PATCH] =?UTF-8?q?node=E6=9C=8D=E5=8A=A1=E7=BA=BF=E4=B8=8A?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/serve.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/serve.js b/bin/serve.js index 6a73f568..b56e9305 100644 --- a/bin/serve.js +++ b/bin/serve.js @@ -26,9 +26,11 @@ const getFileInfo = (app, file) => { } const saveApps = app => { if (app.list.length > 0) { - axios.post("http://192.168.1.87:12525/node/wechatapps/addOrUpdate", app, {timeout: 1000}).then(res => { + axios.post("http://dvcp.sinoecare.net/node/wechatapps/addOrUpdate", app, {timeout: 1000}).then(res => { if (res.data.code == 0) chalkTag.done("产品库目录已同步至后台数据库...") - }).catch(() => 0) + }).catch(err => { + console.log(err) + }) } }