From 0d6f3e522d9b4c706f8988bae17f61bd6767ac5c Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 26 Dec 2022 09:22:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=A1=A8=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rest/wechat/confirmZip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest/wechat/confirmZip.js b/src/rest/wechat/confirmZip.js index 1dc2994..648e798 100644 --- a/src/rest/wechat/confirmZip.js +++ b/src/rest/wechat/confirmZip.js @@ -3,7 +3,7 @@ module.exports = { action: "/node/wxmp/confirmZip", method: "post", execute: (request, response) => { - let {appid, pid} = request.query, sql = `select * from node_wxmp_config where appid='${appid}' and pid='${pid}'` + let {id} = request.query, sql = `select * from node_wxmp_deploy where id='${id}'` dbUtils.query(sql).then(res => { let info = res?.[0] if (info?.appid) {