作者 何书鹏
1 个管道 的构建 通过 耗费 0 秒

bug修改

... ... @@ -917,6 +917,7 @@ class Company extends Api
* @ApiHeaders (name=token, type=string, required=true, description="请求的Token")
* @ApiParams (name="page", type="inter", required=false, description="当前页(默认1)")
* @ApiParams (name="page_num", type="inter", required=false, description="每页显示数据个数(默认10)")
* @ApiParams (name="type", type="inter", required=false, description="岗位类型:1=全职,2=兼职,3=其他")
*
* @ApiReturn({
"code": 1,
... ... @@ -953,7 +954,12 @@ class Company extends Api
{
$page = $this->request->param('page', 1, 'intval');
$page_num = $this->request->param('page_num', 10, 'intval');
$type = $this->request->param('type');
$where['status'] = '1';
// 求职类型
if(!empty($type)){
$where['type'] = $type;
}
$data = UserJobDownload::with(['user_job'=>['user']])
->where('status','0')
->where('company_id',$this->company_id)
... ...
... ... @@ -15863,8 +15863,29 @@
<pre id="sample_response127">{
"code": 1,
"msg": "成功",
"time": "1599017563",
"data": "用户协议内容" //协议内容
"time": "1602835489",
"data": {
"id": 2, //求职ID
"user_id": 15,
"name": "怎么说", //职位
"type": "1",
"mobile": "15133120361",
"start_time": "2020.10.11",
"end_time": "2020.10.11",
"salary": "9753.20",
"address": "测试地址",
"user_job_ability_ids": "3,4",
"qualification": "",
"resume": "http://qizhibang.brotop.cn456", //简历地址
"resume_name": "", //简历名称
"status": "1",
"is_download": "0",
"createtime": 1602408183,
"updatetime": 1602480359,
"weigh": 0,
"type_text": "全职",
"qualification_arr": []
}
}</pre>
</div>
</div>
... ... @@ -19601,6 +19622,12 @@
<td></td>
<td>每页显示数据个数(默认10)</td>
</tr>
<tr>
<td>type</td>
<td>inter</td>
<td></td>
<td>岗位类型:1=全职,2=兼职,3=其他</td>
</tr>
</tbody>
</table>
</div>
... ... @@ -19639,6 +19666,10 @@
<input type="inter" class="form-control input-sm" id="page_num" placeholder="每页显示数据个数(默认10)" name="page_num">
</div>
<div class="form-group">
<label class="control-label" for="type">type</label>
<input type="inter" class="form-control input-sm" id="type" placeholder="岗位类型:1=全职,2=兼职,3=其他" name="type">
</div>
<div class="form-group">
<button type="submit" class="btn btn-success send" rel="30">提交</button>
<button type="reset" class="btn btn-info" rel="30">重置</button>
</div>
... ... @@ -20232,7 +20263,7 @@
<div class="row mt0 footer">
<div class="col-md-6" align="left">
Generated on 2020-10-16 16:04:07 </div>
Generated on 2020-10-16 17:13:04 </div>
<div class="col-md-6" align="right">
<a href="./" target="_blank">企智帮</a>
</div>
... ...