对外平台菜单获取
<h5>简要描述</h5>
<ul>
<li>对外平台菜单获取</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/External/ShareFunction/menuData</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</li>
</ul>
<h5>参数</h5>
<h5>返回示例</h5>
<pre><code>array(1) {
[0] => array(15) { //外层
["id"] => string(2) "12"
["ex_user_id"] => string(2) "68"
["ex_node_id"] => string(2) "12"
["status"] => string(1) "1"
["created_at"] => string(19) "2021-07-26 17:47:20"
["updated_at"] => string(19) "2021-07-26 17:47:20"
["pid"] => string(1) "0"
["title"] => string(18) "车源库存概况"
["module"] => string(3) "Car"
["action"] => string(9) "car_stock"
["remark"] => string(0) ""
["sort"] => string(1) "0"
["is_del"] => string(1) "2"
["is_show"] => string(1) "1"
["refer"] => array(2) { //二层
[0] => array(14) {
["id"] => string(2) "21"
["ex_user_id"] => string(2) "68"
["ex_node_id"] => string(2) "21"
["status"] => string(1) "1"
["created_at"] => string(19) "2021-07-26 17:47:20"
["updated_at"] => string(19) "2021-07-27 17:46:01"
["pid"] => string(2) "12"
["title"] => string(12) "车型配置"
["module"] => string(3) "Car"
["action"] => string(15) "car_config_info"
["remark"] => string(0) ""
["sort"] => string(1) "0"
["is_del"] => string(1) "2"
["is_show"] => string(1) "1"
}
[1] => array(14) {
["id"] => string(2) "22"
["ex_user_id"] => string(2) "68"
["ex_node_id"] => string(2) "22"
["status"] => string(1) "1"
["created_at"] => string(19) "2021-07-26 17:47:20"
["updated_at"] => string(19) "2021-07-27 17:46:01"
["pid"] => string(2) "12"
["title"] => string(9) "车型图"
["module"] => string(3) "Car"
["action"] => string(14) "get_config_pic"
["remark"] => string(0) ""
["sort"] => string(1) "0"
["is_del"] => string(1) "2"
["is_show"] => string(1) "1"
}
}
}
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>