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) {