From 7ef0072dbfe15b1608f6f15a32f50c75934ba466 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 16 Mar 2023 09:56:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/sync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sync.js b/bin/sync.js index 560601f4..3836cf60 100644 --- a/bin/sync.js +++ b/bin/sync.js @@ -7,7 +7,7 @@ const saveApps = app => { return axios.post("http://192.168.1.87:12525/node/wechatapps/addOrUpdate", app, {timeout: 1000}).then(res => { if (res.data.code == 0) chalkTag.done("产品库目录已同步至后台数据库...") }).catch(err => { - console.log(err) + chalkTag.error(err) }) } }