18.获取当天的所有拜访和申请
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取当天的所有拜访和申请</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li>测试地址<code>http://192.168.0.30:8080/WisdomCampus/attendanceRest/getWuzhangziListForApp.do</code></li>
<li>正式地址<code>https://login.richx.cn/attendanceRest/getWuzhangziListForApp.do</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong></p>
<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;">schoolId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>学校Id</td>
</tr>
<tr>
<td style="text-align: left;">day</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>日期(格式 yyyy-MM-dd)</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>
{
"ResponseCode": 0,
"ResponseResult": "获取成功",
"ResponseObject": [
{
"studentName": "ZICO",//学生姓名
"parentName": "陶",//家长姓名
"applyUserName": "陶",//申请人或邀请人
"auditName": "李洪业",//审核人(当类型为:申请时有值即applyType =1 时,当类型为邀请时为空,即申请时有值即applyType =12)
"typeId": 1,
"typeName": "送东西",//接送类型
"applyType": 1,//1接送申请 2拜访邀请
"startTime": "2019-03-20 15:27",
"endTime": "2019-04-23 15:27",
"reason": "额打底裤",//申请或邀请原因
"status": 3,// 审核或回复状态:0待审核、未回复 1审核通过、已回复 2拒绝
"remark": "同意了",//审核意见或家长回复内容
"clazzName": "二年四班"//班级
},
{
"studentName": "ZICO",
"parentName": "陶",
"applyUserName": "陶明月",
"applyType": 2,
"startTime": "2019-04-23 15:27",
"reason": "开家长会",
"status": 3,
"remark": "好的",
"clazzName": "二年四班"
}
]
}
</code></pre>
<p><strong>返回参数说明</strong> </p>
<p><strong>备注</strong> </p>
<ul>
<li>返回的json为单层结构,除id和name外,不需要任何解析及操作</li>
</ul>