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
38708c74
Commit
38708c74
authored
Oct 30, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经纪人姓名搜索 经纪人列表
parent
bf222dae
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
HomePageLog.php
application/api_broker/controller/HomePageLog.php
+2
-0
LookShop.php
application/api_broker/controller/LookShop.php
+5
-1
route.php
application/route.php
+2
-2
No files found.
application/api_broker/controller/HomePageLog.php
View file @
38708c74
...
...
@@ -11,6 +11,7 @@ use app\model\AAgents;
use
app\model\GHouses
;
use
app\model\GHousesFollowUp
;
use
app\model\UPhoneFollowPp
;
use
think\Log
;
use
think\Request
;
/**
...
...
@@ -43,6 +44,7 @@ class HomePageLog extends Basic
public
function
userFollowUpList
()
{
$params
=
$this
->
params
;
Log
::
write
(
$params
,
'userFollowUpList'
);
//记录日志
/*$params = array(
"start_time" => strtotime('2016-08-14 15:47:36'), //开始时间
"end_time" => strtotime('2018-08-14 15:47:36'), //结束时间
...
...
application/api_broker/controller/LookShop.php
View file @
38708c74
...
...
@@ -116,6 +116,7 @@ class LookShop extends Basic
$model
=
new
AAgents
();
//$params_["id"] = $params['agent_id'];
$params_
[
"id"
]
=
$this
->
agentId
;
$result
=
$model
->
searchAgentsByKeyword
(
"id,store_id,district_id,level"
,
$params_
);
$field
=
"a.id,a.store_id,a.level,a.name,a.phone,a.img,b.store_name"
;
...
...
@@ -129,7 +130,10 @@ class LookShop extends Basic
}
$where_
[
"status"
]
=
0
;
//经纪人姓名搜索
if
(
!
empty
(
$params
[
"name"
]))
{
$where_
[
"name"
]
=
$params
[
"name"
];
}
$agentList
=
$this
->
agentsModel
->
getAgentByIdV2
(
$field
,
$where_
,
$page_no
,
$page_size
);
if
(
count
(
$agentList
)
<=
0
)
{
...
...
application/route.php
View file @
38708c74
...
...
@@ -600,8 +600,8 @@ Route::group('broker', [
'getFeedInfo'
=>
[
'api_broker/Feed/getFeedInfo'
,
[
'method'
=>
'get'
]
],
//feed流喜报详情
'editDecFeedClick'
=>
[
'api_broker/Feed/editDecFeedClick'
,
[
'method'
=>
'post'
]
],
//feed流喜报详情
'getAgentsResidueNumList'
=>
[
'api_broker/LookShop/getAgentsResidueNumList'
,
[
'method'
=>
'get'
]
],
//
剩余铺数
列表
'getAgentsResidueNumListV2'
=>
[
'api_broker/LookShop/getAgentsResidueNumListV2'
,
[
'method'
=>
'get'
]
],
//
'getAgentsResidueNumList'
=>
[
'api_broker/LookShop/getAgentsResidueNumList'
,
[
'method'
=>
'get'
]
],
//
经纪人
列表
'getAgentsResidueNumListV2'
=>
[
'api_broker/LookShop/getAgentsResidueNumListV2'
,
[
'method'
=>
'get'
]
],
//
经纪人列表
'setAgentLookNum'
=>
[
'api_broker/LookShop/setAgentLookNum'
,
[
'method'
=>
'post'
]
],
//设置经纪人的看铺数量
//首页跟进记录
...
...
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