车享宝


用户详情

<h5>简要描述</h5> <ul> <li>用户详情</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://oc-test-api.uncar.top/oc/user/detail</code></li> </ul> <h5>请求方式</h5> <ul> <li>get </li> </ul> <h5>参数</h5> <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;">id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>用户id</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{     "code": 200,     "data": {         "roles": [             {                 "id": 25,                 "ocId": 3,                 "name": "测试",                 "remark": "测试",                 "createTime": "2022-04-12T03:42:13.000+0000",                 "lastUpdate": null,                 "flag": true //是否拥有该角色             }         ],         "user": {             "id": 68,             "ocId": 3,             "name": "测试运营中心",             "username": "123456",             "password": "123456",             "email": null,             "mobile": "17744444444",             "status": "1",             "type": 1,             "createTime": "2022-04-12T03:00:18.000+0000",             "lastUpdate": null         }     },     "message": "success" }</code></pre>

页面列表

ITEM_HTML