配置列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>配置列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://192.168.3.243:86/admin/config_list</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>参数:</strong> </p>
<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;">group_name</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">String</td>
<td>配置组名</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> "data": {
"total": 2,
"per_page": 20,
"current_page": 1,
"last_page": 1,
"data": [
{
"config_group_id": 1,
"group_name": "car",
"remark": "汽车配置",
"system_config": [
{
"config_id": 1, //配置id
"config_group_id": 1, //配置组id
"key": "speed", //调用时的key
"value": "150", //值
"remark": "单位km/h",
"component": "input",//组件类型
"title": "最高车速", //标题
"placeholder": "",
"extra_data": "" //附加数据 json
},
{
"config_id": 2,
"config_group_id": 1,
"key": "gearbox",
"value": "自动",
"remark": null,
"component": "select",
"title": "变速箱",
"placeholder": null,
"extra_data": "{\"0\":\"手动\",\"1\":\"自动\"}"
},</code></pre>