美容师预约查询
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>美容师预约查询接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>index/adminappointment</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </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;">BeauticianId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>美容师ID</td>
</tr>
<tr>
<td style="text-align: left;">date</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">date</td>
<td>查询时期 如:2025-01-01</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;查询成功&quot;,
&quot;result&quot;: [
{
&quot;id&quot;: 1,
&quot;beautician_id&quot;: 1,
&quot;project_id&quot;: null,
&quot;date&quot;: &quot;2025-01-12&quot;,
&quot;is_rest&quot;: 0,
&quot;createdate&quot;: null,
&quot;updatedate&quot;: null,
&quot;timeSlots&quot;: [
{
&quot;id&quot;: 1,
&quot;day_id&quot;: 1,
&quot;time_slot&quot;: &quot;10.00-12.00&quot;,
&quot;is_rest&quot;: 0,
&quot;createdate&quot;: &quot;2025-01-12 11:39:20&quot;,
&quot;updatedate&quot;: &quot;2025-01-12 11:39:28&quot;
},
{
&quot;id&quot;: 2,
&quot;day_id&quot;: 1,
&quot;time_slot&quot;: &quot;13.00-14.00&quot;,
&quot;is_rest&quot;: 0,
&quot;createdate&quot;: null,
&quot;updatedate&quot;: null
},
{
&quot;id&quot;: 3,
&quot;day_id&quot;: 1,
&quot;time_slot&quot;: &quot;15.00-16.00&quot;,
&quot;is_rest&quot;: 0,
&quot;createdate&quot;: null,
&quot;updatedate&quot;: null
}
]
}
]
}</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;">is_rest</td>
<td style="text-align: left;">int</td>
<td>是否休息(0: 否,1: 是)</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>