Commit 9097095a authored by 罗超's avatar 罗超

修改行程下载地址

parent c1835bc9
......@@ -1518,7 +1518,8 @@ export default {
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 = `https:/im.oytour.com/TripDownLoad/${this.delMsg.configId}_${this.delMsg.tcid}/${this.delMsg.configId}_${this.delMsg.tcid}.pdf`
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