性别
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>根据字典类型查询字典数据信息</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost/dev-api/system/dict/data/type/sys_user_sex</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;">dictType</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>字典类型</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"msg": "操作成功",
"code": 200,
"data": [
{
"searchValue": null,
"createBy": "admin",
"createTime": "2022-09-07 17:17:42",
"updateBy": null,
"updateTime": null,
"remark": "性别男",
"params": {
"@type": "java.util.HashMap"
},
"dictCode": 1,
"dictSort": 1,
"dictLabel": "男",
"dictValue": "0",
"dictType": "sys_user_sex",
"cssClass": "",
"listClass": "",
"isDefault": "Y",
"status": "0",
"default": true
},
{
"searchValue": null,
"createBy": "admin",
"createTime": "2022-09-07 17:17:42",
"updateBy": null,
"updateTime": null,
"remark": "性别女",
"params": {
"@type": "java.util.HashMap"
},
"dictCode": 2,
"dictSort": 2,
"dictLabel": "女",
"dictValue": "1",
"dictType": "sys_user_sex",
"cssClass": "",
"listClass": "",
"isDefault": "N",
"status": "0",
"default": false
},
{
"searchValue": null,
"createBy": "admin",
"createTime": "2022-09-07 17:17:42",
"updateBy": null,
"updateTime": null,
"remark": "性别未知",
"params": {
"@type": "java.util.HashMap"
},
"dictCode": 3,
"dictSort": 3,
"dictLabel": "未知",
"dictValue": "2",
"dictType": "sys_user_sex",
"cssClass": "",
"listClass": "",
"isDefault": "N",
"status": "0",
"default": false
}
]
}
</code></pre>