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
841b134c
Commit
841b134c
authored
Aug 22, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
3a40b507
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
User.php
application/api_broker/controller/User.php
+8
-0
No files found.
application/api_broker/controller/User.php
View file @
841b134c
...
@@ -644,6 +644,14 @@ class User extends Basic
...
@@ -644,6 +644,14 @@ class User extends Basic
// dump($model_res);exit();
// dump($model_res);exit();
$where
=
[];
$where
=
[];
// $where['city'] = trim($this->city);
// $where['city'] = trim($this->city);
if
(
!
empty
(
$this
->
params
[
'end_date'
])
&&
!
empty
(
$this
->
params
[
'start_date'
]))
{
if
(
strtotime
(
$last_month
)
>
strtotime
(
$this
->
params
[
'start_date'
]))
{
$start_date
=
$last_month
;
}
else
{
$start_date
=
$this
->
params
[
'start_date'
];
}
$where
[
'a.create_time'
]
=
[
'between'
,[
$start_date
.
' 00:00:00'
,
$this
->
params
[
'end_date'
]
.
' 23:59:59'
]];
}
$field
=
'max(a.id) as max_id'
;
$field
=
'max(a.id) as max_id'
;
$order
=
'a.id asc'
;
$order
=
'a.id asc'
;
$max_id
=
$model
->
getLastOrNextUserIDPhoneFollowP
(
$where
,
$field
,
$limit
=
''
,
$order
);
$max_id
=
$model
->
getLastOrNextUserIDPhoneFollowP
(
$where
,
$field
,
$limit
=
''
,
$order
);
...
...
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