车享宝


上传图片

<p><strong>简要描述:</strong> </p> <ul> <li>上传图片</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>/main/uploadFile</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </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;">myPhoto</td> <td style="text-align: left;">是</td> <td style="text-align: left;">file</td> <td>文件</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "code": 200, "data": { "fileUrl": "https://chexiangbao.oss-cn-chengdu.aliyuncs.com/headImg/1602664301976-28948827-c6de-4d6d.jpg" }, "message": "success" } </code></pre> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML