Commit a5719b0b authored by zhuwei's avatar zhuwei

1

parent d9edfd8b
......@@ -1037,14 +1037,14 @@ class HouseService
if (CURRENT_URL == 'https://api.tonglianjituan.com/') {
$internet_path = CHAT_IMG_URL;
} elseif (CURRENT_URL == 'https://pre2.tonglianjituan.com/') {
$internet_path = 'http://pre2.tonglianjituan.com/static/resource/lib/Attachments/video/';
$internet_path = 'http://pre2.tonglianjituan.com/resource/lib/Attachments/video/';
} else {
$internet_path = 'http://pre2.tonglianjituan.com/static/resource/lib/Attachments/video/';
$internet_path = 'http://pre2.tonglianjituan.com/resource/lib/Attachments/video/';
}
foreach ($result as $k=>$v) {
$result_[$k]['id'] = $v['id'];
$result_[$k]['upload_id'] = $v['upload_id'];
$result_[$k]['video_image'] = $internet_path.$v['video_image'];
$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_path'] = $internet_path.$v['video_name'];
}
......
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