Commit 80822611 authored by zhuwei's avatar zhuwei

1

parent 055e84e6
...@@ -1044,17 +1044,14 @@ class HouseService ...@@ -1044,17 +1044,14 @@ class HouseService
} else { } else {
$internet_path = 'http://pre2.tonglianjituan.com/resource/lib/Attachments/video/'; $internet_path = 'http://pre2.tonglianjituan.com/resource/lib/Attachments/video/';
} }
$agent_model = new AAgents();
foreach ($result as $k=>$v) { foreach ($result as $k=>$v) {
$result_[$k]['id'] = $v['id']; $result_[$k]['id'] = $v['id'];
$result_[$k]['upload_id'] = $v['upload_id']; $result_[$k]['upload_id'] = $v['upload_id'];
$result_[$k]['check_name'] = $v['check_name']; $result_[$k]['check_name'] = $v['check_name'];
$upload = $agent_model->findByOne('name,phone',['id'=>$v['upload_id']]); $result_[$k]['upload_name'] = $v['upload_name'];
$result_[$k]['upload_name'] = $upload['name']; $result_[$k]['upload_phone'] = $v['upload_phone'];
$result_[$k]['upload_phone'] = $upload['phone'];
$result_[$k]['video_image'] = $v['video_image'] ? $internet_path.$v['video_image'] : 'http://n.sinaimg.cn/ent/transform/20170921/FVGl-fymesmp0851702.jpg'; $result_[$k]['video_image'] = $v['video_image'] ? $internet_path.$v['video_image'] : 'http://n.sinaimg.cn/ent/transform/20170921/FVGl-fymesmp0851702.jpg';
// $result_[$k]['video_image'] = 'https://s2.ax1x.com/2019/03/28/AwtDv4.png';
$result_[$k]['video_path'] = $internet_path.$v['video_name']; $result_[$k]['video_path'] = $internet_path.$v['video_name'];
$result_[$k]['create_time'] = $v['create_time']; $result_[$k]['create_time'] = $v['create_time'];
$result_[$k]['check_time'] = $v['check_time']; $result_[$k]['check_time'] = $v['check_time'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment