修复相同appid不同版本数据混淆问题
This commit is contained in:
@@ -6,7 +6,7 @@ module.exports = {
|
|||||||
action: "/node/wxmp/getZip",
|
action: "/node/wxmp/getZip",
|
||||||
method: "post",
|
method: "post",
|
||||||
execute: (request, response) => {
|
execute: (request, response) => {
|
||||||
let {appid, id} = request.query, uniCon = `appid='${appid}' and pid='${id}'`,uid= [aid, pid].join("_")
|
let {appid, id} = request.query, uniCon = `appid='${appid}' and pid='${id}'`,uid= [appid, id].join("_")
|
||||||
db.query(`select * from node_dvcp_config where id='${id}'`).then(res => {
|
db.query(`select * from node_dvcp_config where id='${id}'`).then(res => {
|
||||||
let info = res?.[0], sql
|
let info = res?.[0], sql
|
||||||
if (info?.appid && info?.pid) {
|
if (info?.appid && info?.pid) {
|
||||||
|
|||||||
Reference in New Issue
Block a user