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
dec72b52
Commit
dec72b52
authored
Mar 26, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
12
parent
a5719b0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
HouseService.php
application/index/service/HouseService.php
+6
-1
No files found.
application/index/service/HouseService.php
View file @
dec72b52
...
...
@@ -1027,7 +1027,7 @@ class HouseService
{
$m_video
=
new
GHousesVideo
();
$field
=
'id,video_name,upload_id'
;
$field
=
'id,video_name,upload_id
,check_name,create_time
'
;
$params
[
'house_id'
]
=
$house_id
;
$params
[
'is_del'
]
=
0
;
$params
[
'check_id'
]
=
[
'>'
,
0
];
...
...
@@ -1041,11 +1041,16 @@ class HouseService
}
else
{
$internet_path
=
'http://pre2.tonglianjituan.com/resource/lib/Attachments/video/'
;
}
$agent_model
=
new
AAgents
();
foreach
(
$result
as
$k
=>
$v
)
{
$result_
[
$k
][
'id'
]
=
$v
[
'id'
];
$result_
[
$k
][
'upload_id'
]
=
$v
[
'upload_id'
];
$result_
[
$k
][
'check_name'
]
=
$v
[
'check_name'
];
$result_
[
$k
][
'upload_name'
]
=
$agent_model
->
getAgentFieldById
(
$v
[
'upload_id'
],
'name'
);
$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'
];
$result_
[
$k
][
'create_time'
]
=
$v
[
'create_time'
];
}
return
$result_
;
...
...
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