查询详情
<h2>查询详情</h2>
<p><strong>接口地址</strong>:<code>/system/regions/{id}</code></p>
<p><strong>请求方式</strong>:<code>GET</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:<p>查询详情</p></p>
<p><strong>请求参数</strong>:</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>主键id</td>
<td>query</td>
<td>true</td>
<td>integer(int32)</td>
</tr>
</tbody>
</table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody>
<tr>
<td>200</td>
<td>OK</td>
<td>ResponsePageInfo«CommunityDangqunServiceCenter»</td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
</tr>
</tbody>
</table>
<p><strong>响应参数</strong>:</p>
<pre><code class="language-javascript">private Long id;
/** 区域code */
@TableField(&quot;ad_code&quot;)
private String adCode;
/** 父级adcode */
@TableField(&quot;parent_ad_code&quot;)
private String parentAdCode;
/** 父级 */
@TableField(&quot;ancestors&quot;)
private String ancestors;
/** 地区名称 */
@TableField(&quot;region_name&quot;)
private String regionName;
/** 级别 */
@TableField(&quot;level&quot;)
private Long level;
/** 排序 */
@TableField(&quot;sort_id&quot;)
private Long sortId;
/** 1:停用 0 启用 */
@TableField(&quot;status&quot;)
private Long status;
/** $column.columnComment */
@TableField(&quot;create_time&quot;)
private Date createTime;
/** 1:删除 */
@TableLogic(value = &quot;0&quot;,delval = &quot;1&quot;)
@TableField(&quot;del_flag&quot;)
private Long delFlag;
//子级区域
@TableField(exist = false)
private List&lt;PlanRegions&gt; children;</code></pre>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-javascript">{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;操作成功&quot;,
&quot;data&quot;: {
&quot;id&quot;: 1,
&quot;adCode&quot;: &quot;1&quot;,
&quot;parentAdCode&quot;: &quot;0&quot;,
&quot;ancestors&quot;: &quot;0&quot;,
&quot;regionName&quot;: &quot;级别1&quot;,
&quot;level&quot;: 1,
&quot;sortId&quot;: 1,
&quot;status&quot;: 0,
&quot;createTime&quot;: null,
&quot;delFlag&quot;: 0,
&quot;children&quot;: null
},
&quot;error&quot;: false,
&quot;success&quot;: true
}</code></pre>