东农后台api接口文档

接口文档


个人信息-修改信息-头像上传

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>上传头像接口</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xgkj.hljnyxx.com/dongnongBackend/Home/Index/upload</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>返回示例</h5> <pre><code> {     &amp;quot;code&amp;quot;: 0,     &amp;quot;msg&amp;quot;: &amp;quot;上传成功&amp;quot;,     &amp;quot;data&amp;quot;: {         &amp;quot;img_url&amp;quot;: &amp;quot;/Public/Upload/User/2023-07-12/64ae48b183be6.png&amp;quot;     } }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">img_url</td> <td>头像相对地址</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>无</li> </ul>

页面列表

ITEM_HTML