Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
a5719b0b
Commit
a5719b0b
authored
Mar 26, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d9edfd8b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
HouseService.php
application/index/service/HouseService.php
+3
-3
No files found.
application/index/service/HouseService.php
View file @
a5719b0b
...
...
@@ -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'
];
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment