附件迁移至公网
This commit is contained in:
parent
1109919370
commit
2f3589db4e
|
|
@ -392,8 +392,7 @@ const downloadContract = () => {
|
|||
|
||||
// 下载合同附件
|
||||
const downloadAnnex = async () => {
|
||||
const baseUrl = window.location.origin.replace(/^http:/, 'https:'); // 将 HTTP 替换为 HTTPS
|
||||
const fileUrl = `${baseUrl}/contract-annex.docx`;
|
||||
const fileUrl = `https://zlpt-1259760603.cos.ap-nanjing.myqcloud.com/2025/contract-annex.docx`;
|
||||
|
||||
try {
|
||||
const response = await fetch(fileUrl);
|
||||
|
|
|
|||
|
|
@ -733,8 +733,7 @@ const downloadContract = () => {
|
|||
|
||||
// 下载合同附件
|
||||
const downloadAnnex = async () => {
|
||||
const baseUrl = window.location.origin.replace(/^http:/, 'https:'); // 将 HTTP 替换为 HTTPS
|
||||
const fileUrl = `${baseUrl}/contract-annex.docx`;
|
||||
const fileUrl = `https://zlpt-1259760603.cos.ap-nanjing.myqcloud.com/2025/contract-annex.docx`;
|
||||
|
||||
try {
|
||||
const response = await fetch(fileUrl);
|
||||
|
|
|
|||
Loading…
Reference in New Issue