From b0d28d63326a95607503d97e7eb86c7409270d07 Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 26 Dec 2022 09:37:24 +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/detail.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]