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