修复表异常
This commit is contained in:
@@ -3,7 +3,7 @@ module.exports = {
|
|||||||
action: "/node/wxmp/confirmZip",
|
action: "/node/wxmp/confirmZip",
|
||||||
method: "post",
|
method: "post",
|
||||||
execute: (request, response) => {
|
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 => {
|
dbUtils.query(sql).then(res => {
|
||||||
let info = res?.[0]
|
let info = res?.[0]
|
||||||
if (info?.appid) {
|
if (info?.appid) {
|
||||||
|
|||||||
Reference in New Issue
Block a user