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
b16eb189
Commit
b16eb189
authored
Aug 20, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跟进加保护器
parent
55b63672
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
Remark.php
application/index/controller/Remark.php
+8
-0
No files found.
application/index/controller/Remark.php
View file @
b16eb189
...
@@ -127,6 +127,14 @@ class Remark extends Basic
...
@@ -127,6 +127,14 @@ class Remark extends Basic
$data
[
'data'
][
'list'
]
=
$u_phone_follow
->
getFollowList
(
$pageNo
,
$pageSize
,
$order_
=
'id desc'
,
$field
,
$where
);
$data
[
'data'
][
'list'
]
=
$u_phone_follow
->
getFollowList
(
$pageNo
,
$pageSize
,
$order_
=
'id desc'
,
$field
,
$where
);
foreach
(
$data
[
'data'
][
'list'
]
as
$k
=>
$v
)
{
foreach
(
$data
[
'data'
][
'list'
]
as
$k
=>
$v
)
{
//dump($v);
//判断客户是否超过24小时保护期间 0:保护器内 1:超过保护期
$is_outstrip_twenty_four_hours
=
0
;
if
((
time
()
-
strtotime
(
$v
[
'create_time'
]))
>
(
60
*
60
*
24
)){
$is_outstrip_twenty_four_hours
=
1
;
}
$data
[
'data'
][
'list'
][
$k
][
'is_outstrip_twenty_four_hours'
]
=
$is_outstrip_twenty_four_hours
;
$data
[
'data'
][
'list'
][
$k
][
'user_phone'
]
=
substr_replace
(
$data
[
'data'
][
'list'
][
$k
][
'user_phone'
],
'****'
,
3
,
4
);
$data
[
'data'
][
'list'
][
$k
][
'user_phone'
]
=
substr_replace
(
$data
[
'data'
][
'list'
][
$k
][
'user_phone'
],
'****'
,
3
,
4
);
}
}
...
...
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