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
afdc4990
Commit
afdc4990
authored
Mar 27, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
is_
parent
06855d41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Shop.php
application/api_broker/controller/Shop.php
+3
-1
No files found.
application/api_broker/controller/Shop.php
View file @
afdc4990
...
...
@@ -1143,11 +1143,13 @@ class Shop extends Basic
$is_auth
=
$vip
->
checkRule
(
$this
->
agentId
,
'index/checkVideo'
);
if
(
$is_auth
)
{
$where
[
'a.upload_id'
]
=
$this
->
agentId
;
$is_auth
=
0
;
}
else
{
$m_agent
=
new
AAgents
();
$agent_data
=
$m_agent
->
getAgentInfo
(
'district_id,store_id'
,
$this
->
agentId
);
$where
[
'b.district_id'
]
=
$agent_data
[
'district_id'
];
$where
[
'b.store_id'
]
=
$agent_data
[
'store_id'
];
$is_auth
=
1
;
}
$m_house_video
=
new
GHousesVideo
();
...
...
@@ -1160,7 +1162,7 @@ class Shop extends Basic
$data
[
$k
][
'check_status'
]
=
$v
[
'check_id'
]
?
1
:
0
;
$data
[
$k
][
'path'
]
=
'resource/lib/Attachments/video/'
;
}
return
$this
->
response
(
200
,
''
,
$data
);
return
$this
->
response
(
200
,
''
,
$data
,
[
'is_auth'
=>
$is_auth
]
);
}
/**
...
...
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