修复表异常

This commit is contained in:
aixianling
2022-12-26 09:37:24 +08:00
parent 26b6c7b1e6
commit b0d28d6332

View File

@@ -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]