From 5316234edfc5326355b8be25c537da4ed779d1a1 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 15 Dec 2022 10:41:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=95=B0=E6=8D=AE=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E4=BC=9A=E5=B1=80=E5=9F=9F=E7=BD=9187?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/pages.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/pages.js b/bin/pages.js index 43bea0a..9801a4f 100644 --- a/bin/pages.js +++ b/bin/pages.js @@ -18,9 +18,9 @@ const getFileInfo = (app, file) => { } const saveApps = app => { if (app.list.length > 0) { - axios.post("http://dvcp.sinoecare.net/node/wechatapps/addOrUpdate", app).then(res => { - if (res?.code == 0) chalkTag.done("产品库目录已同步至后台数据库...") - }).catch(() => 0).finally(() => fsExtra.outputJson('src/config.json', {apps: app.list})) + axios.post("http://192.168.1.87:12525/node/wechatapps/addOrUpdate", app).then(res => { + if (res?.data?.code == 0) chalkTag.done("产品库目录已同步至后台数据库...") + }).catch(err => 0).finally(() => fsExtra.outputJson('src/config.json', {apps: app.list})) } } const start = () => {