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
210b7365
Commit
210b7365
authored
Mar 29, 2019
by
hujun
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
parents
74beb71a
d85a3127
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Shop.php
application/api_broker/controller/Shop.php
+1
-1
HouseService.php
application/index/service/HouseService.php
+3
-3
No files found.
application/api_broker/controller/Shop.php
View file @
210b7365
...
...
@@ -703,7 +703,7 @@ class Shop extends Basic
$upload_id
=
$s_house
->
getHouseVideoNum
(
$params
[
'id'
]);
$result
[
'is_upload_video'
]
=
0
;
//不能上传视频
if
(
count
(
$upload_id
)
<
3
)
{
if
(
!
empty
(
$upload_id
)
&&
count
(
$upload_id
)
<
3
)
{
$result
[
'is_upload_video'
]
=
1
;
if
(
in_array
(
$this
->
agentId
,
$upload_id
))
{
...
...
application/index/service/HouseService.php
View file @
210b7365
...
...
@@ -1029,7 +1029,7 @@ class HouseService
public
function
getHouseVideoList
(
$house_id
)
{
$m_video
=
new
GHousesVideo
();
$result_
=
[];
$field
=
'id,video_name,video_image,upload_id,upload_name,upload_phone,check_name,create_time,check_time'
;
$params
[
'house_id'
]
=
$house_id
;
$params
[
'is_del'
]
=
0
;
...
...
@@ -1050,8 +1050,8 @@ class HouseService
$result_
[
$k
][
'check_name'
]
=
$v
[
'check_name'
];
$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_path'
]
=
$
internet_path
.
$v
[
'video_name'
]
;
$result_
[
$k
][
'video_image'
]
=
$v
[
'video_image'
]
?
$internet_path
.
$v
[
'video_image'
]
:
'
'
;
$result_
[
$k
][
'video_path'
]
=
$
v
[
'video_path'
]
?
$internet_path
.
$v
[
'video_path'
]
:
''
;
$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