From 1f1cac75f18372a75496c3ba12e2feb561c77c73 Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 14 Nov 2022 14:41:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=A9=E5=B1=95=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rest/custom/getZip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest/custom/getZip.js b/src/rest/custom/getZip.js index b34b366..b369a87 100644 --- a/src/rest/custom/getZip.js +++ b/src/rest/custom/getZip.js @@ -31,7 +31,7 @@ module.exports = { return db.query(`update node_custom_config set download='${dayjs().format("YYYY-MM-DD HH:mm:ss")}',error='' where ${uniCon}`) }).catch(err => { console.log(err) - return db.query(`update node_custom_config set error='${err?.substring(0,50)}',zipTime=null where ${uniCon}`) + return db.query(`update node_custom_config set error='${err}',zipTime=null where ${uniCon}`) }) } else return response.send({code: 1, err: "无法找到定制项目信息"}) }).catch(err => {