快发卡

快发卡


0527上传身份证正反面照片

<p><strong>简要描述:</strong> </p> <ul> <li>0527上传身份证正反面照片</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>m/user/upload_examine_identity</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;">file</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>{ "__type": "result", "state": "ok", "msg": "上传成功", "data": { "url": "examine/identity/28601_20200527032838.jpg" }, "time": 1590564519 }</code></pre> <pre><code>var form = new FormData(); form.append("file", fileInput.files[0], "d6d30a3cde4b85858fa3ae817241b0c0.jpg"); var settings = { "url": "http://192.168.3.243:82/m/user/upload_examine_identity", "method": "POST", "timeout": 0, "headers": { "authtype": "ios", "token": "0E918245108D0E24000D2F8CAF18C9", "Cookie": "PHPSESSID=p9q5m48g427j5s0upgpvtl0kg9" }, "processData": false, "mimeType": "multipart/form-data", "contentType": false, "data": form }; $.ajax(settings).done(function (response) { console.log(response); });</code></pre> <p><strong>返回参数说明</strong> </p> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML