Commit dbe6fb34 authored by zhuwei's avatar zhuwei

1

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