Commit e9506e3e authored by 罗超's avatar 罗超

修改下载链接

parent b13bb880
......@@ -1516,8 +1516,9 @@ export default {
title:'这可能需要30秒,请耐心等待'
})
this.isDownloading=true
let url = `http://uploadfile.oytour.com/Home/PcToPdf2023New?configId=${this.delMsg.configId}&cityId=0&TCID=${this.delMsg.tcid}&orderId=0&isShowBase=1&isShowFlight=1&isShowFeature=1&isShowFee=1&isShowShop=1&isShowTip=1&isShowB2B=1&isShowTrip=1&isShowTitle=0&isShowGuest=0&isShowMan=1&isShowTCNUM=1&isShowVisa=1&isShowTripImage=1&templateId=3&isShowVideoImg=1&unionfid=0`
url = `https://ocr.oytour.com/Home/DownloadFileForPdf?url=${encodeURIComponent(url)}`
// let url = `http://uploadfile.oytour.com/Home/PcToPdf2023New?configId=${this.delMsg.configId}&cityId=0&TCID=${this.delMsg.tcid}&orderId=0&isShowBase=1&isShowFlight=1&isShowFeature=1&isShowFee=1&isShowShop=1&isShowTip=1&isShowB2B=1&isShowTrip=1&isShowTitle=0&isShowGuest=0&isShowMan=1&isShowTCNUM=1&isShowVisa=1&isShowTripImage=1&templateId=3&isShowVideoImg=1&unionfid=0`
// url = `https://ocr.oytour.com/Home/DownloadFileForPdf?url=${encodeURIComponent(url)}`
let url = `https:/im.oytour.com/TripDownLoad/${this.delMsg.configId}_${this.delMsg.tcid}/${this.delMsg.configId}_${this.delMsg.tcid}.pdf`
const filePath= wx.env.USER_DATA_PATH + `/${this.dataList.currentPriceInfo?.startDate+'_'}${this.dataList.ltName.replace(/\s+/g,"").replaceAll("/","")}.pdf`
uni.downloadFile({
url: url,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment