修复表异常

This commit is contained in:
aixianling
2022-12-26 09:22:50 +08:00
parent dfc4b7a84b
commit 0d6f3e522d

View File

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