oss 中 pdf 文件下载 -- 马山林
<p><strong>简要描述:</strong> </p>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/font/api/user/user/downloadOssPDF</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">pdfUrl</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>pdf 文件路径( oss )</td>
</tr>
<tr>
<td style="text-align: left;">fileName</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">String</td>
<td>文件名称</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong></p>
<pre><code>http://{{host}}:{{port}}/app/user/downloadOssPDF?pdfUrl=xxx.pdf&fileName=测试文件</code></pre>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>