Commit 74beb71a authored by hujun's avatar hujun

Merge branch 'test'

parents 75f6ef8a 32ad4b72
...@@ -1037,7 +1037,12 @@ class HouseService ...@@ -1037,7 +1037,12 @@ class HouseService
$result = $m_video->getHouseVideo($field, $params); $result = $m_video->getHouseVideo($field, $params);
$internet_path = CURRENT_URL.'/resource/lib/Attachments/video/';
if (CURRENT_URL == 'https://api.tonglianjituan.com/') {
$internet_path = IMAGES_URL.'/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