系统开关
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>根据字典进行查询</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost/dev-api/system/dict/data/type/sys_normal_disable</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</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": 6,
"dictSort": 1,
"dictLabel": "正常",
"dictValue": "0",
"dictType": "sys_normal_disable",
"cssClass": "",
"listClass": "primary",
"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": 7,
"dictSort": 2,
"dictLabel": "停用",
"dictValue": "1",
"dictType": "sys_normal_disable",
"cssClass": "",
"listClass": "danger",
"isDefault": "N",
"status": "0",
"default": false
}
]
}
</code></pre>