预览word文件方法
我找到方法了,这个博主的方法管用《https://cloud.tencent.com/developer/article/2025939》
提供参考实例,期望对你有所帮助【导出word模板遇到的错误Can‘t find end of central directory:is this a zip file?】,链接:https://blog.csdn.net/ZMJ_QQ/article/details/121264854
源文件是不是转码或者加密了?
参考一下