修复相同appid不同版本数据混淆问题
This commit is contained in:
@@ -125,9 +125,9 @@ export default {
|
||||
})
|
||||
},
|
||||
handleDownload(row) {
|
||||
let {appid} = row
|
||||
let {appid, pid} = row
|
||||
this.instance.post("/node/wxmp/download", null, {
|
||||
params: {appid},
|
||||
params: {appid, pid},
|
||||
responseType: "blob"
|
||||
}).then(res => {
|
||||
if (res?.code == 1) {
|
||||
@@ -145,10 +145,10 @@ export default {
|
||||
})
|
||||
},
|
||||
handleZip(row) {
|
||||
let {miniapp_appid: appid, version} = row
|
||||
let {miniapp_appid: appid, version, id} = row
|
||||
if (!version) return this.$message.error("请先维护要上传的版本!")
|
||||
appid && this.instance.post("/node/wxmp/getZip", null, {
|
||||
params: {appid}
|
||||
params: {appid, id}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
row.count = 1
|
||||
@@ -209,9 +209,9 @@ export default {
|
||||
}).catch(() => 0)
|
||||
},
|
||||
handleConfirmZip(row) {
|
||||
let {appid} = row
|
||||
let {appid, pid} = row
|
||||
return this.instance.post("/node/wxmp/confirmZip", null, {
|
||||
params: {appid}
|
||||
params: {appid, pid}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) return res.data
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user