α企业查看招聘信息
<p><strong>1. 简要描述:</strong></p>
<ul>
<li>根据招聘信息id查看招聘信息。</li>
</ul>
<p><strong>2. 请求URL:</strong></p>
<ul>
<li><code>http://HOST/company/getrecruitment?token=#{token}&recruitmentId=#{recruitmentId}</code></li>
</ul>
<p><strong>3. 请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>4. UI应显示的内容:</strong></p>
<ul>
<li>UI应显示获取到的结果,具体可参考“发布招聘信息”中的内容。</li>
<li>注意:应在“发布招聘信息”基础上添加发布时间。</li>
</ul>
<p><strong>5. 请求应携带的参数:</strong></p>
<ul>
<li>请求参数应携带token和recruitmentId。</li>
<li>参数全部放在URL中。</li>
</ul>
<table>
<thead>
<tr>
<th>数据别称</th>
<th>数据名</th>
<th>数据类型</th>
<th>数据长度</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>Token</td>
<td>token</td>
<td>char</td>
<td>255</td>
<td>必填</td>
</tr>
<tr>
<td>招聘信息id</td>
<td>recruitmentId</td>
<td>int</td>
<td></td>
<td>必填</td>
</tr>
</tbody>
</table>
<p><strong>6. 请求示例:</strong></p>
<pre><code>请求URL:http://localhost:8080/XZPT_Java_war_exploded/company/getrecruitment?token=eyJ0eX&recruitmentId=2</code></pre>
<p><strong>7. 返回结果:</strong></p>
<ul>
<li>本例中,如果无误,"resultObject"字段携带Recruitment实例的JSONObject。</li>
<li>返回描述见“返回结果解释”。</li>
</ul>