From 3b68bc31a07fbe5b3b48bebf2d1d2ab07f1a49fc Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 14 Jul 2022 18:19:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E5=88=B6=E6=96=B9=E6=A1=88=E5=85=A8?= =?UTF-8?q?=E6=96=B0=E5=8D=87=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rest/wechat/getZip.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rest/wechat/getZip.js b/src/rest/wechat/getZip.js index f655790..1c67880 100644 --- a/src/rest/wechat/getZip.js +++ b/src/rest/wechat/getZip.js @@ -18,7 +18,8 @@ module.exports = { db.query(sql).then(() => setTimeout(() => { response.send({code: 0}) }, 2000)) - const path = info.projectPath || isDev ? 'E:\\code\\cunwei\\dvcp_v2_wechat' : '/home/deploy/node-service/dvcp_v2_wechat', + console.log(isDev) + const path = info.projectPath || isDev ? 'E:\\code\\cunwei\\dvcp_v2_wechat' : '/home/deploy/node-service/dvcp_v2_wxmp', dest = isDev ? `E:\\wxmpZips\\${uid}` : `/home/deploy/wxmpZips/${uid}/`, processEnv = info.npmScript || 'build', dist = info.npmScript ? `${path}/dist/${info.npmScript}/` : `${path}/dist/build/mp-weixin/`