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
95da7029
Commit
95da7029
authored
Apr 20, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注册时间
parent
a76d2e83
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
Member.php
application/index/controller/Member.php
+16
-0
No files found.
application/index/controller/Member.php
View file @
95da7029
...
@@ -134,6 +134,22 @@ class Member extends Basic{
...
@@ -134,6 +134,22 @@ class Member extends Basic{
$where
[
'a.user_status'
]
=
$params
[
'user_rent'
];
$where
[
'a.user_status'
]
=
$params
[
'user_rent'
];
}
}
//注册时间
if
(
!
empty
(
$params
[
'registration_start'
])
&&
empty
(
$params
[
'registration_end'
]))
{
$where
[
'a.registration_time'
]
=
[
'< time'
,
$params
[
'registration_start'
]
.
' 23:59:59'
];
}
//注册时间
if
(
!
empty
(
$params
[
'registration_end'
])
&&
empty
(
$params
[
'registration_start'
]))
{
$where
[
'a.registration_time'
]
=
[
'< time'
,
$params
[
'registration_start'
]
.
' 23:59:59'
];
}
//注册时间
if
(
!
empty
(
$params
[
'registration_start'
])
&&
!
empty
(
$params
[
'registration_end'
]))
{
$where
[
'a.registration_time'
]
=
[
'between time'
,
[
$params
[
'registration_start'
]
.
' 00:00:00'
,
$params
[
'registration_end'
]
.
' 23:59:59'
]];
$type
=
2
;
}
/* //最后登录开始时间
/* //最后登录开始时间
if (!empty($params['login_time_start']) && empty($params['login_time_end'])) {
if (!empty($params['login_time_start']) && empty($params['login_time_end'])) {
$where['a.last_login_time'] = ['> time',$params['last_login_time']. ' 00:00:00'];
$where['a.last_login_time'] = ['> time',$params['last_login_time']. ' 00:00:00'];
...
...
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