3.绑定校园卡
<p><strong>简要描述:</strong></p>
<ul>
<li>绑定校园卡</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>http://login.richx.cn/wuzhangai/boundCampusCardForApp.do</code></li>
<li><code>http://192.168.0.103:9080/WisdomCampus3.0/wuzhangai/boundCampusCardForApp.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;">apiKey</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>主键</td>
</tr>
<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;">cardCode</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>电子卡号</td>
</tr>
<tr>
<td style="text-align: left;">nickName</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户姓名</td>
</tr>
<tr>
<td style="text-align: left;">headImg</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">file</td>
<td>图像图片</td>
</tr>
<tr>
<td style="text-align: left;">userId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>用户id(用户可以选择也可以手动输入 如果是选择的话返回选择的人的userId 如果是手动输入的则返回登录用户的id)</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;ResponseCode&quot;: 0,
&quot;ResponseResult&quot;: &quot;绑定校园卡成功&quot;,
&quot;ResponseObject&quot;: true
}</code></pre>
<pre><code> {
&quot;ResponseCode&quot;: 0,
&quot;ResponseResult&quot;: &quot;绑定校园卡失败,此卡号已有拥有者&quot;,
&quot;ResponseObject&quot;: false
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>