javademo在云服务器启动后,利用sdk中快速接入里面的html代码替换appid和fileid后报for input string。请求中加参数token:'1'后有一个/open/word接口报15008

阅读次数 165

<img src="https://solution-community.wps.cn/uploads/post/4P5u54nepqu.png" alt="ZA11~3DKB7{TVWQQ(1%2U9T.png"/> 加参数token后: <img src="https://solution-community.wps.cn/uploads/post/4P5uzmc2WrE.png" alt="企业微信截图_1680339239582.png"/>
<img src="https://solution-community.wps.cn/uploads/post/4P5uEPfwkYU.png" alt="企业微信截图_16803392867382.png"/>
<img src="https://solution-community.wps.cn/uploads/post/4P5uT6ctXkN.png" alt="企业微信截图_16803393972948.png"/>

1 Answers

Unavailable的原因是由于您回调接口GET /v3/3rd/files/:file_id/download中提供了一个访问超时的download url,请替换成可访问的地址

你说的这个download url,javaDemo中返回的是该应用的接口/console/download/{file_id}/{version},我用postman填写参数(weboffice控制台日志查询到的url)调用云服务器上这个/console/download/{file_id}/{version}接口接口是通的,并不会访问超时。

你好,可以检查下 download url 响应服务器是否存在防火墙等限制