小程序后台已经正确的配置了downLoadFile地址,可小程序上预览文件还是提示错误?

小程序 文章 2022-02-20 19:20 1006 0 全屏看文

AI助手支持GPT4.0

小程序后台已经正确的配置了downLoadFile地址,可小程序上预览文件还是提示错误?The downLoadFile address has been correctly configured in the backend of the applet, but the file preview on the applet still prompts an error?

小程序后台已经正确的配置了downLoadFile地址,可小程序上预览文件还是提示错误?

但小程序上实现文件预览时?还在提示http://cx.chuangxinjuli.com:7004 不在以下 downloadFile 合法域名列表中呢?需要怎么配置啊?求指导

我的附件地址是http://cx.chuangxinjuli.com:7004/1484352256081006592.docx

只有勾选不校验域名合法性时才对

The legal domain name of downloadfile is configured in the applet development management https://cx.chuangxinjuli.com and https://cx.chuangxinjuli.com:7004 As shown in the figure, but when the file preview is implemented on the applet? Still prompting http://cx.chuangxinjuli.com:7004 Is it not in the following downloadfile legal domain name list? How to configure it? For guidance, my attachment address is http://cx.chuangxinjuli.com:7004/1484352256081006592.docx Only when do not check the validity of the domain name is checked

回答:

💯🏆大好河山:为什么插放不了?
拾忆:

https和http不一样。

Mr.Zhao:

附件地址为啥不是https的

-EOF-

AI助手支持GPT4.0