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
a031099d
Commit
a031099d
authored
Dec 12, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
q
parent
b0beb3ce
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
Broker.php
application/index/controller/Broker.php
+7
-1
No files found.
application/index/controller/Broker.php
View file @
a031099d
...
...
@@ -1000,12 +1000,13 @@ class Broker extends Basic
public
function
getBlackListInfo
(){
$params
=
$this
->
params
;
// $params = array(
// "agents_black_list_id" =>
6
// "agents_black_list_id" =>
1
// );
if
(
!
isset
(
$params
[
"agents_black_list_id"
]))
{
return
$this
->
response
(
"101"
,
"请求参数错误"
);
}
$internet_path
=
CURRENT_URL
.
'public/static/agent_black_list/'
;
$m_agents_black_list
=
new
AAgentsBlackList
();
$m_agents_black_list_img
=
new
AAgentsBlackListImg
();
...
...
@@ -1016,6 +1017,11 @@ class Broker extends Basic
$get_params
[
'status'
]
=
0
;
$get_params
[
'father_id'
]
=
$params
[
"agents_black_list_id"
];
$get_data_res
=
$m_agents_black_list_img
->
getDatas
(
$field
,
$get_params
);
foreach
(
$get_data_res
as
$k
=>
$v
)
{
$get_data_res
[
$k
][
'internet_path'
]
=
$internet_path
.
$v
[
'file_name'
];
}
$res
[
'img_list'
]
=
$get_data_res
;
if
(
$res
)
{
...
...
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