...
|
...
|
@@ -392,12 +392,11 @@ class Index extends Api |
|
|
$info->is_collect = !empty($collect) ? 1 : 0;
|
|
|
$deposit = new Inform;
|
|
|
$info['inform'] = $deposit->where(['status'=>'1','job_id'=>$job_id,'deletetime'=>null])->order('id desc')->field('id,content,status,job_id')->find();
|
|
|
// $info['inform']['content']=str_replace('src="/uploads/','src="'.request()->domain().'/uploads/',$info['inform']['content']);
|
|
|
$info['inform']['content'] = str_replace('<img src="/uploads/', '<img src=" '. request()->domain() . '/uploads/', $info['inform']['content']);
|
|
|
|
|
|
$info->visible(['id','images','job_name','factory_price_total','factory_price','subsidy_price','salary','content','lng','lat','label_ids'])->append(['is_collect','inform']);
|
|
|
$this->success('成功',$info);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* @ApiWeigh (87)
|
|
|
* @ApiTitle (收藏职位)
|
...
|
...
|
|