修复相同appid不同版本数据混淆问题
This commit is contained in:
@@ -4,7 +4,7 @@ module.exports = {
|
||||
action: "/node/wxmp/download",
|
||||
method: "post",
|
||||
execute: (request, response) => {
|
||||
let appid = request.query?.appid
|
||||
let {pid, appid: aid} = request.query, appid = [aid, pid].join("_")
|
||||
if (appid) {
|
||||
let path = `/home/deploy/wxmpZips/${appid}/`, zipPath = `/home/deploy/wxmpZips/${appid}.zip`
|
||||
fse.removeSync(zipPath)
|
||||
|
||||
Reference in New Issue
Block a user