获取级联类型与值
<p>欢迎使用July-Doc!</p>
<p><strong>控制器描述:</strong></p>
<ul>
<li>级联类型 前端控制器</li>
</ul>
<p><strong>作者:</strong></p>
<ul>
<li>zengxueqi</li>
</ul>
<p><strong>创建时间:</strong></p>
<ul>
<li>2024/8/22</li>
</ul>
<p><strong>简要描述:</strong></p>
<ul>
<li>获取级联类型与值</li>
</ul>
<p><strong>请求URL:</strong>
<code>http://{}/member/cascadeType/all</code></p>
<p><strong>请求方式:</strong>
<code>GET</code></p>
<p><strong>Content-Type:</strong>
<code>application/x-www-form-urlencoded;charset=utf-8</code></p>
<p><strong>参数示例:</strong></p>
<pre><code>http://{
}/member/cascadeType/all</code></pre>
<p><strong>返回参数说明</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>描述</th>
<th>版本</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>int32</td>
<td>涓氬姟閿欒鐮?<br>-- GETTER --<br> 鑾峰彇缁撴灉缂栫爜</td>
<td>-</td>
</tr>
<tr>
<td>msg</td>
<td>string</td>
<td>鎻忚堪<br>-- GETTER --<br> 鑾峰彇娑堟伅鎻愮ず</td>
<td>-</td>
</tr>
<tr>
<td>content</td>
<td>object</td>
<td>缁撴灉闆?<br>-- GETTER --<br> 鑾峰彇涓氬姟鏁版嵁</td>
<td>-</td>
</tr>
<tr>
<td>└─id</td>
<td>int64</td>
<td>主键</td>
<td>-</td>
</tr>
<tr>
<td>└─type</td>
<td>string</td>
<td>类型</td>
<td>-</td>
</tr>
<tr>
<td>└─name</td>
<td>string</td>
<td>类型名称</td>
<td>-</td>
</tr>
<tr>
<td>└─codes</td>
<td>array</td>
<td>级联值</td>
<td>-</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;└─id</td>
<td>int64</td>
<td>主键</td>
<td>-</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;└─typeId</td>
<td>int64</td>
<td>类型id</td>
<td>-</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;└─parentId</td>
<td>int64</td>
<td>父级id</td>
<td>-</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;└─name</td>
<td>string</td>
<td>名称</td>
<td>-</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;└─children</td>
<td>array</td>
<td>下级级联</td>
<td>-</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;└─hasChildren</td>
<td>boolean</td>
<td>是否有下级</td>
<td>-</td>
</tr>
</tbody>
</table>
<p><strong>返回示例:</strong></p>
<pre><code>{
&quot;code&quot;:0,
&quot;msg&quot;:处理成功,
&quot;content&quot;:[
{
&quot;id&quot;:134,
&quot;type&quot;:&quot;e37gfj&quot;,
&quot;name&quot;:&quot;子骞.崔&quot;,
&quot;codes&quot;:[
{
&quot;id&quot;:39,
&quot;typeId&quot;:472,
&quot;parentId&quot;:963,
&quot;name&quot;:&quot;子骞.崔&quot;,
&quot;children&quot;:[
{
&quot;$ref&quot;:&quot;..&quot;
}
],
&quot;hasChildren&quot;:true
}
]
}
]
}</code></pre>
<p><strong>备注</strong></p>
<ul>
<li>暂无错误代码描述信息</li>
</ul>