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
371fad74
Commit
371fad74
authored
Aug 15, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
判断客户是否超过24小时保护期间 0:保护器内 1:超过保护期
parent
57cebaa2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
Member.php
application/index/controller/Member.php
+9
-1
No files found.
application/index/controller/Member.php
View file @
371fad74
...
@@ -274,7 +274,7 @@ class Member extends Basic{
...
@@ -274,7 +274,7 @@ class Member extends Basic{
$where
[
'a.disc'
]
=
$params
[
'disc'
];
$where
[
'a.disc'
]
=
$params
[
'disc'
];
}
}
$fields
=
'a.id,a.user_nick,a.user_name,a.user_phone,a.user_pic,a.create_time,a.user_pswd,a.referrer_id,a.user_label,
$fields
=
'a.id,a.user_nick,a.
create_time,a.
user_name,a.user_phone,a.user_pic,a.create_time,a.user_pswd,a.referrer_id,a.user_label,
a.user_name,a.status,a.first_login_time,a.last_login_time,a.agent_id,a.vip,a.price_demand,a.industry_type,a.area_demand,a.user_status,a.source'
;
a.user_name,a.status,a.first_login_time,a.last_login_time,a.agent_id,a.vip,a.price_demand,a.industry_type,a.area_demand,a.user_status,a.source'
;
try
{
try
{
...
@@ -299,6 +299,14 @@ class Member extends Basic{
...
@@ -299,6 +299,14 @@ class Member extends Basic{
}
}
}
}
//判断客户是否超过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_list
[
$k
][
'is_outstrip_twenty_four_hours'
]
=
$is_outstrip_twenty_four_hours
;
$is_show
=
true
;
$is_show
=
true
;
if
(
$if_search_user
==
false
){
if
(
$if_search_user
==
false
){
$is_show
=
$clientService
->
dialTotal
(
$v
[
"id"
]);
$is_show
=
$clientService
->
dialTotal
(
$v
[
"id"
]);
...
...
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