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
80822611
Commit
80822611
authored
Mar 28, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
055e84e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
HouseService.php
application/index/service/HouseService.php
+2
-5
No files found.
application/index/service/HouseService.php
View file @
80822611
...
...
@@ -1044,17 +1044,14 @@ 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'
];
$upload
=
$agent_model
->
findByOne
(
'name,phone'
,[
'id'
=>
$v
[
'upload_id'
]]);
$result_
[
$k
][
'upload_name'
]
=
$upload
[
'name'
];
$result_
[
$k
][
'upload_phone'
]
=
$upload
[
'phone'
];
$result_
[
$k
][
'upload_name'
]
=
$v
[
'upload_name'
];
$result_
[
$k
][
'upload_phone'
]
=
$v
[
'upload_phone'
];
$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_image'] = 'https://s2.ax1x.com/2019/03/28/AwtDv4.png';
$result_
[
$k
][
'video_path'
]
=
$internet_path
.
$v
[
'video_name'
];
$result_
[
$k
][
'create_time'
]
=
$v
[
'create_time'
];
$result_
[
$k
][
'check_time'
]
=
$v
[
'check_time'
];
...
...
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