漫番


图片上传

<p><strong>简要描述:</strong> </p> <ul> <li>图片上传</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://user.myfcomic.com/api/update_img</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;">img</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": 1, "msg": "操作成功", "data": { "name": "images/message/5452eac81213bbd90b1c176078428b04.jpg", "img_url": "https://cdnmyfcomicpay.myfcomic.com/images/message/5452eac81213bbd90b1c176078428b04.jpg@!auto" } }</code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">name</td> <td style="text-align: left;">string</td> <td>图片名称</td> </tr> <tr> <td style="text-align: left;">img_url</td> <td style="text-align: left;">string</td> <td>图片路径</td> </tr> </tbody> </table> <p><strong>备注</strong> </p>

页面列表

ITEM_HTML