资源一体化-用户端

资源一体化-用户端


上传图片

<h4>上传图片</h4> <pre><code>url: /app/attach/uploadpic 请求方式: POST 说明: 需登录 上传附件</code></pre> <p>入参参数说明:</p> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> <th>是否必传</th> <th>传参方式</th> </tr> </thead> <tbody> <tr> <td>file</td> <td>File</td> <td>图片文件</td> <td>是</td> <td>multipart参数</td> </tr> </tbody> </table> <p><strong>返回参数说明</strong></p> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>code</td> <td>String</td> <td>状态值</td> </tr> <tr> <td>msg</td> <td>String</td> <td>返回消息</td> </tr> <tr> <td>data</td> <td>String</td> <td>图片url</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "code": "0000", "msg":"success", "data": { "url":"xxxxxxxxx" } }</code></pre>

页面列表

ITEM_HTML