客餐申请公司和餐段列表数据来源
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>客餐申请公司和餐段列表数据来源接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>api/h5/guestMeal/dpts?organizationId=11</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</li>
</ul>
<h5>参数</h5>
<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;">organizationId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>所属组织id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: 0,
&quot;data&quot;: {
&quot;dpts&quot;: [
{
&quot;id&quot;: null,
&quot;organizationId&quot;: null,
&quot;departmentId&quot;: 199,
&quot;userId&quot;: 137935,
&quot;createTime&quot;: null,
&quot;updateTime&quot;: null,
&quot;userName&quot;: null,
&quot;phone&quot;: null,
&quot;dptName&quot;: &quot;华西一公司&quot;
},
{
&quot;id&quot;: null,
&quot;organizationId&quot;: null,
&quot;departmentId&quot;: 200,
&quot;userId&quot;: 137936,
&quot;createTime&quot;: null,
&quot;updateTime&quot;: null,
&quot;userName&quot;: null,
&quot;phone&quot;: null,
&quot;dptName&quot;: &quot;华西二公司&quot;
}
],
&quot;mealSestions&quot;: [
{
&quot;id&quot;: 95,
&quot;organizationId&quot;: 132,
&quot;name&quot;: &quot;早餐&quot;,
&quot;config&quot;: null,
&quot;status&quot;: 1,
&quot;startTime&quot;: &quot;00:00:00&quot;,
&quot;endTime&quot;: &quot;12:00:00&quot;,
&quot;removeStatus&quot;: null,
&quot;createTime&quot;: &quot;2024-03-18 11:03:20&quot;,
&quot;updateTime&quot;: &quot;2024-03-20 13:56:35&quot;
},
{
&quot;id&quot;: 96,
&quot;organizationId&quot;: 132,
&quot;name&quot;: &quot;午餐&quot;,
&quot;config&quot;: null,
&quot;status&quot;: 1,
&quot;startTime&quot;: &quot;12:00:01&quot;,
&quot;endTime&quot;: &quot;15:00:00&quot;,
&quot;removeStatus&quot;: null,
&quot;createTime&quot;: &quot;2024-03-18 11:03:20&quot;,
&quot;updateTime&quot;: &quot;2024-03-20 13:56:35&quot;
},
{
&quot;id&quot;: 97,
&quot;organizationId&quot;: 132,
&quot;name&quot;: &quot;晚餐&quot;,
&quot;config&quot;: null,
&quot;status&quot;: 1,
&quot;startTime&quot;: &quot;15:00:01&quot;,
&quot;endTime&quot;: &quot;23:59:59&quot;,
&quot;removeStatus&quot;: null,
&quot;createTime&quot;: &quot;2024-03-18 11:03:20&quot;,
&quot;updateTime&quot;: &quot;2024-03-20 13:56:35&quot;
}
]
},
&quot;message&quot;: &quot;success&quot;,
&quot;timestamp&quot;: 1711353851659
}</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>