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
c6cf755f
Commit
c6cf755f
authored
Apr 16, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
208829e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
10 deletions
+14
-10
HomePageLog.php
application/api_broker/controller/HomePageLog.php
+14
-10
No files found.
application/api_broker/controller/HomePageLog.php
View file @
c6cf755f
...
...
@@ -49,15 +49,15 @@ class HomePageLog extends Basic
*/
public
function
userFollowUpList
()
{
$params
=
$this
->
params
;
/* $params = array(
"start_time" => strtotime('2019-01-01 15:47:36'), //开始时间
"end_time" => strtotime('2019-01-30 15:47:36'), //结束时间
//"name_or_phone" => "18112347151",//用户姓名或电话 经纪人
//"search_content" => "酸菜",// 搜索跟进内容
"pageNo" => 1,
"pageSize" => 15
);*/
$params
=
$this
->
params
;
/* $params = array(
"start_time" => strtotime('2019-01-01 15:47:36'), //开始时间
"end_time" => strtotime('2019-01-30 15:47:36'), //结束时间
//"name_or_phone" => "18112347151",//用户姓名或电话 经纪人
//"search_content" => "酸菜",// 搜索跟进内容
"pageNo" => 1,
"pageSize" => 15
);*/
$vrs
=
new
VerifyRepetitionService
();
$is_check
=
$vrs
->
followUpClick
(
$this
->
agentId
);
if
(
$params
[
"pageNo"
]
==
1
&&
!
$is_check
)
{
...
...
@@ -107,7 +107,8 @@ class HomePageLog extends Basic
}
}
$date
=
date
(
"Y-m-d"
,
time
());
$if_search
=
false
;
$date
=
date
(
"Y-m-d"
,
time
());
if
(
$start_time
>=
$date
&&
$start_time
<=
$date
.
" 23:59:59"
)
{
$result
=
$this
->
phoneFollowUpTemporary
->
getFollowList
(
$pageNo
,
$pageSize
,
$order_
=
'id desc'
,
$field
,
$where_
);
}
else
{
...
...
@@ -117,6 +118,7 @@ class HomePageLog extends Basic
$search_result
=
$searchService
->
searchByKeyword
(
$params
,
$pageNo
,
$pageSize
,
$agentId
);
$search_result
=
json_decode
(
$search_result
,
true
);
$result
=
$search_result
[
"result"
][
"items"
];
$if_search
=
true
;
}
else
{
$result
=
$this
->
uPhoneFollowUpModel
->
getFollowList
(
$pageNo
,
$pageSize
,
''
,
$field
,
$where
);
}
...
...
@@ -137,6 +139,8 @@ class HomePageLog extends Basic
$result
[
$key
][
'name'
]
=
$res_a
[
0
][
'name'
];
$result
[
$key
][
'img'
]
=
$res_a
[
0
][
'img'
];
$result
[
$key
][
'store_name'
]
=
$res_a
[
0
][
'store_name'
];
if
(
$if_search
)
$result
[
$key
][
'create_time'
]
=
date
(
"Y-m-d H:i:s"
,
$value
[
"create_time"
]);
//判断客户是否超过24小时保护期间 0:保护器内 1:超过保护期
$ser
=
new
UserExpiredTimeService
();
...
...
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