diff --git a/src/rest/wechat/detail.js b/src/rest/wechat/detail.js index e04803b..184f39a 100644 --- a/src/rest/wechat/detail.js +++ b/src/rest/wechat/detail.js @@ -3,8 +3,8 @@ module.exports = { action: "/node/wxmp/detail", method: "post", execute: (request, response) => { - let {appid, pid} = request.query - dbUtils.query(`select * from node_dvcp_config where appid='${appid}' and pid='${pid}' limit 0,1`).then(res => { + let {id} = request.query + dbUtils.query(`select * from node_wxmp_deploy where id='${id}' limit 0,1`).then(res => { response.send({ code: 0, data: res?.[0]