Commit dbe6fb34 authored by zhuwei's avatar zhuwei

1

parent d09903da
......@@ -1037,14 +1037,8 @@ class HouseService
$result = $m_video->getHouseVideo($field, $params);
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/resource/lib/Attachments/video/';
} else {
$internet_path = 'http://pre2.tonglianjituan.com/resource/lib/Attachments/video/';
}
$internet_path = CURRENT_URL.'/resource/lib/Attachments/video/';
foreach ($result as $k=>$v) {
$result_[$k]['id'] = $v['id'];
$result_[$k]['upload_id'] = $v['upload_id'];
......
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