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
788e3153
Commit
788e3153
authored
Sep 03, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
头像
parent
4d65874c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
Broker.php
application/api_broker/controller/Broker.php
+8
-1
No files found.
application/api_broker/controller/Broker.php
View file @
788e3153
...
@@ -258,8 +258,15 @@ class Broker extends Basic
...
@@ -258,8 +258,15 @@ class Broker extends Basic
}
}
if
(
$where
)
{
if
(
$where
)
{
$field
=
'id,name,phone'
;
$field
=
'id,name,phone
,img
'
;
$data
[
'data'
]
=
$this
->
a_agents
->
getList
(
$pageNo
,
$pageSize
,
'id DESC'
,
$field
,
''
,
$where
);
$data
[
'data'
]
=
$this
->
a_agents
->
getList
(
$pageNo
,
$pageSize
,
'id DESC'
,
$field
,
''
,
$where
);
if
(
$data
[
'data'
]){
foreach
(
$data
[
'data'
]
as
$k
=>
$v
)
{
if
(
isset
(
$v
[
'img'
]))
{
$data
[
'data'
][
$k
][
'head_portrait'
]
=
AGENTHEADERIMGURL
.
$v
[
'img'
];
}
}
}
}
else
{
}
else
{
$data
[
'msg'
]
=
'没有经纪人信息'
;
$data
[
'msg'
]
=
'没有经纪人信息'
;
}
}
...
...
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