恒力期货工作流

恒力期货工作流


4. 文件上传

<h5>接口名称</h5> <p>统一文件上传</p> <h5>请求URL</h5> <p><code>http://192.168.1.161:8080/jeecg-boot/sys/common/upload</code></p> <h5>请求方式</h5> <p>POST</p> <h5>请求参数</h5> <table> <thead> <tr> <th>参数名</th> <th>必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>biz</td> <td>是</td> <td>String</td> <td>业务路径,用于指定文件存储的子目录。如果为空,默认使用配置的默认路径。</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code class="language-json">{ &amp;quot;success&amp;quot;: true, &amp;quot;message&amp;quot;: &amp;quot;文件保存路径&amp;quot;, &amp;quot;code&amp;quot;: 200, &amp;quot;result&amp;quot;: null }</code></pre> <h5>响应参数</h5> <table> <thead> <tr> <th>字段名</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>success</td> <td>Boolean</td> <td>操作是否成功,true 表示成功,false 表示失败。</td> </tr> <tr> <td>message</td> <td>String</td> <td>文件保存路径,或错误信息</td> </tr> <tr> <td>code</td> <td>Integer</td> <td>状态码,200表示成功</td> </tr> <tr> <td>result</td> <td>Object</td> <td>返回结果数据,通常为null</td> </tr> </tbody> </table>

页面列表

ITEM_HTML