学校配送时间查询
<h3>功能描述</h3>
<ul>
<li>该接口用于查询在校园管家中学校对应的配送时间。
<h3>接入前须知</h3></li>
<li>请联系 王静莹 进行校园验签key及默认下单人配置</li>
</ul>
<h3>接口定义</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">服务名称</th>
<th style="text-align: center;">批量交易</th>
<th style="text-align: center;">接口类型</th>
<th style="text-align: center;">接口uri</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">新建校园订单接口</td>
<td style="text-align: center;">不支持</td>
<td style="text-align: center;">接入/POST</td>
<td style="text-align: center;">/public/schoolPub/schoolDeliveryTime</td>
</tr>
</tbody>
</table>
<h3>请求</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">序号</th>
<th style="text-align: center;">字段名</th>
<th style="text-align: center;">类型(约束)</th>
<th style="text-align: center;">必填</th>
<th style="text-align: center;">默认值</th>
<th style="text-align: left;">描述</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">0</td>
<td style="text-align: center;">schoolAppId</td>
<td style="text-align: center;">String</td>
<td style="text-align: center;">是</td>
<td style="text-align: center;">由校园系统方提供,用来单独验证</td>
</tr>
<tr>
<td style="text-align: center;">2</td>
<td style="text-align: center;">schoolId</td>
<td style="text-align: center;">String(64)</td>
<td style="text-align: center;">是</td>
<td style="text-align: center;">学校ID</td>
</tr>
</tbody>
</table>
<h3>响应</h3>
<table>
<thead>
<tr>
<th style="text-align: center;">序号</th>
<th style="text-align: center;">字段名</th>
<th style="text-align: center;">类型(约束)</th>
<th style="text-align: center;">必填</th>
<th style="text-align: center;">字段说明</th>
<th style="text-align: left;">描述</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">1</td>
<td style="text-align: center;">msg</td>
<td style="text-align: center;">String (200)</td>
<td style="text-align: center;">否</td>
<td style="text-align: center;">信息</td>
<td style="text-align: left;">提示信息</td>
</tr>
<tr>
<td style="text-align: center;">2</td>
<td style="text-align: center;">succ</td>
<td style="text-align: center;">String (10)</td>
<td style="text-align: center;">是</td>
<td style="text-align: center;">状态码</td>
<td style="text-align: left;">返回成功或失败信息(ok/fail)</td>
</tr>
<tr>
<td style="text-align: center;">3</td>
<td style="text-align: center;">Object</td>
<td style="text-align: center;">SchoolDeliveryTime (/)</td>
<td style="text-align: center;">是</td>
<td style="text-align: center;">数据</td>
<td style="text-align: left;">数据,可能为空</td>
</tr>
</tbody>
</table>
<h4>响应 Object</h4>
<h5>SchoolDeliveryTime</h5>
<table>
<thead>
<tr>
<th style="text-align: center;">序号</th>
<th style="text-align: center;">字段名</th>
<th style="text-align: center;">类型</th>
<th style="text-align: center;">必填</th>
<th style="text-align: center;">字段说明</th>
<th style="text-align: left;">描述</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">1</td>
<td style="text-align: center;">schoolId</td>
<td style="text-align: center;">String(64)</td>
<td style="text-align: center;">是</td>
<td style="text-align: center;">学校ID</td>
</tr>
<tr>
<td style="text-align: center;">2</td>
<td style="text-align: center;">schoolName</td>
<td style="text-align: center;">String(32)</td>
<td style="text-align: center;">是</td>
<td style="text-align: center;">学校名称</td>
</tr>
<tr>
<td style="text-align: center;">3</td>
<td style="text-align: center;">times</td>
<td style="text-align: center;">List<TimeSegement> (/)</td>
<td style="text-align: center;">是</td>
<td style="text-align: center;">数据</td>
<td style="text-align: left;">数据,可能为空</td>
</tr>
</tbody>
</table>
<h4>响应result<List></h4>
<h5>TimeSegement</h5>
<table>
<thead>
<tr>
<th style="text-align: center;">序号</th>
<th style="text-align: center;">字段名</th>
<th style="text-align: center;">类型</th>
<th style="text-align: center;">必填</th>
<th style="text-align: center;">字段说明</th>
<th style="text-align: left;">描述</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">1</td>
<td style="text-align: center;">start</td>
<td style="text-align: center;">String (12)</td>
<td style="text-align: center;">是</td>
<td style="text-align: center;">开始时间</td>
</tr>
<tr>
<td style="text-align: center;">2</td>
<td style="text-align: center;">end</td>
<td style="text-align: center;">String(12)</td>
<td style="text-align: center;">是</td>
<td style="text-align: center;">结束时间</td>
</tr>
</tbody>
</table>
<h3>报文范例</h3>
<ul>
<li>
<p><strong>请求报文</strong></p>
<pre><code>{
&quot;schoolAppId&quot;: &quot;a&quot;,
&quot;schoolId&quot;: 884328609426243584,
}</code></pre>
</li>
<li><strong>响应报文</strong>
<ul>
<li>成功报文
<pre><code>{
&quot;result&quot;: {
&quot;schoolId&quot;: 884328609426243584,
&quot;schoolName&quot;: &quot;测试学校&quot;,
&quot;times&quot;: [
{
&quot;end&quot;: &quot;09:00:00&quot;,
&quot;start&quot;: &quot;08:00:00&quot;
}
,{
&quot;end&quot;: &quot;11:00:00&quot;,
&quot;start&quot;: &quot;10:00:00&quot;
}
]
},
&quot;succ&quot;: &quot;ok&quot;,
&quot;msg&quot;: null,
&quot;extendResult&quot;: null
}</code></pre></li>
<li>失败报文-范例1
<pre><code>{
&quot;result&quot;: null,
&quot;succ&quot;: &quot;fail&quot;,
&quot;msg&quot;: &quot;未接收到请求数据&quot;
}</code></pre></li>
</ul></li>
</ul>