资源一体化-用户端

资源一体化-用户端


账号密码登录接口(支持账号和手机号)

<h4>账号密码登录接口(支持账号和手机号)</h4> <pre><code>url: /app/user/account/login 请求方式: POST 说明: 账号密码登录接口(支持账号和手机号)</code></pre> <p>入参参数说明:</p> <table> <thead> <tr> <th>参数名</th> <th>必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>username</td> <td>是</td> <td>String(32)</td> <td>账号(支持账号和手机号)</td> </tr> <tr> <td>password</td> <td>是</td> <td>String</td> <td>密码</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>返回的token</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "code":"0000", "msg":"success", "data":{ "token":"token123123" } }</code></pre>

页面列表

ITEM_HTML