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
fc64b383
Commit
fc64b383
authored
Nov 22, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
5dd08ad7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
Agent.php
application/api_broker/controller/Agent.php
+1
-0
Remark.php
application/index/controller/Remark.php
+2
-0
No files found.
application/api_broker/controller/Agent.php
View file @
fc64b383
...
...
@@ -48,6 +48,7 @@ class Agent extends Basic
$field
=
'Agents.id as agent_id,'
;
$field
.=
'Agents.name,'
;
$field
.=
'Agents.img,'
;
$field
.=
'Agents.status,'
;
$field
.=
'Agents.phone'
;
$res
=
$this
->
aAgents
->
getPhoneBookList
(
$field
,
$where
,
$pageSize
,
$pageNo
);
...
...
application/index/controller/Remark.php
View file @
fc64b383
...
...
@@ -328,6 +328,8 @@ class Remark extends Basic
//查询当前经纪人是否是某个客方的总监 0:可以 1:不可以
$user_res
[
'is_can_look'
]
=
$user_service
->
isUserAgentDirector
(
$user_res
[
"agent_id"
],
$params
[
"agent_id"
]);
/*查询客户是否被经纪人收藏*/
$user_res
[
"is_collect"
]
=
$user_service
->
isCollect
(
$params
[
"agent_id"
],
$params
[
"user_id"
]);
return
$this
->
response
(
"200"
,
"success!"
,
[
'user_info'
=>
$user_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