小程序菜单
<h5>简要描述</h5>
<ul>
<li>小程序菜单</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://192.168.1.79/api/program/menu</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>get</li>
</ul>
<h5>Header</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">字段名</th>
<th style="text-align: left;">示例值</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">authorization</td>
<td style="text-align: left;"></td>
<td>否</td>
<td>string</td>
<td>access_token</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;success&quot;,
&quot;data&quot;: [
{
&quot;id&quot;: 1,
&quot;parent_id&quot;: 0,
&quot;name&quot;: &quot;运营模块&quot;,
&quot;path&quot;: &quot;\/operate&quot;,
&quot;route&quot;: &quot;&quot;,
&quot;icon&quot;: &quot;&quot;,
&quot;status&quot;: 0,
&quot;type&quot;: 0,
&quot;sort&quot;: 0,
&quot;created_at&quot;: &quot;2025-03-08T08:06:18.329787Z&quot;,
&quot;updated_at&quot;: &quot;2025-03-08T08:06:18.329787Z&quot;,
&quot;deleted_at&quot;: null,
&quot;children&quot;: [
{
&quot;id&quot;: 2,
&quot;parent_id&quot;: 1,
&quot;name&quot;: &quot; 数据&quot;,
&quot;path&quot;: &quot;\/data&quot;,
&quot;route&quot;: &quot;&quot;,
&quot;icon&quot;: &quot;&quot;,
&quot;status&quot;: 0,
&quot;type&quot;: 0,
&quot;sort&quot;: 0,
&quot;created_at&quot;: &quot;2025-03-08T08:06:44.642277Z&quot;,
&quot;updated_at&quot;: &quot;2025-03-08T08:06:44.642277Z&quot;,
&quot;deleted_at&quot;: null,
&quot;children&quot;: [
{
&quot;id&quot;: 4,
&quot;parent_id&quot;: 2,
&quot;name&quot;: &quot;时段客流分析&quot;,
&quot;path&quot;: &quot;\/&quot;,
&quot;route&quot;: &quot;&quot;,
&quot;icon&quot;: &quot;&quot;,
&quot;status&quot;: 0,
&quot;type&quot;: 0,
&quot;sort&quot;: 0,
&quot;created_at&quot;: &quot;2025-03-08T08:07:32.737736Z&quot;,
&quot;updated_at&quot;: &quot;2025-03-08T08:07:32.737736Z&quot;,
&quot;deleted_at&quot;: null,
&quot;children&quot;: [],
&quot;pivot&quot;: {
&quot;customer_id&quot;: 1,
&quot;menu_mini_program_id&quot;: 4
}
},
{
&quot;id&quot;: 3,
&quot;parent_id&quot;: 2,
&quot;name&quot;: &quot;门店运营报表&quot;,
&quot;path&quot;: &quot;\/&quot;,
&quot;route&quot;: &quot;&quot;,
&quot;icon&quot;: &quot;&quot;,
&quot;status&quot;: 0,
&quot;type&quot;: 0,
&quot;sort&quot;: 0,
&quot;created_at&quot;: &quot;2025-03-08T08:07:10.636892Z&quot;,
&quot;updated_at&quot;: &quot;2025-03-08T08:07:10.636892Z&quot;,
&quot;deleted_at&quot;: null,
&quot;children&quot;: [],
&quot;pivot&quot;: {
&quot;customer_id&quot;: 1,
&quot;menu_mini_program_id&quot;: 3
}
}
],
&quot;pivot&quot;: {
&quot;customer_id&quot;: 1,
&quot;menu_mini_program_id&quot;: 2
}
}
],
&quot;pivot&quot;: {
&quot;customer_id&quot;: 1,
&quot;menu_mini_program_id&quot;: 1
}
}
]
}
</code></pre>
<h5>备注</h5>
<p>备注信息</p>