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) + }) } }