Authored by wangtao

fix: 文档预览

@@ -54,7 +54,7 @@ See https://github.com/adobe-type-tools/cmap-resources @@ -54,7 +54,7 @@ See https://github.com/adobe-type-tools/cmap-resources
54 var PDFData = ""; 54 var PDFData = "";
55 //PDF文件生成的服务器ip地址(各地不同) 55 //PDF文件生成的服务器ip地址(各地不同)
56 var ipaddr = location.href.substring(0, location.href.lastIndexOf(':'));//浙江地址 56 var ipaddr = location.href.substring(0, location.href.lastIndexOf(':'));//浙江地址
57 - var uri = domainName + "/api-web/home/readPdf?pdfPath=" + param + "&accessToken=" + access_token; 57 + var uri = "/api-web/home/readPdf?pdfPath=" + param + "&accessToken=" + access_token;
58 $.ajax({ 58 $.ajax({
59 type: "get", 59 type: "get",
60 async: false, 60 async: false,