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
f07869ea
Commit
f07869ea
authored
May 28, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
700069dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
HomePageLog.php
application/api_broker/controller/HomePageLog.php
+3
-3
No files found.
application/api_broker/controller/HomePageLog.php
View file @
f07869ea
...
...
@@ -40,7 +40,7 @@ class HomePageLog extends Basic
/* $params = array(
"start_time" => time(), //开始时间
"end_time" => time() . " 23:59:59", //结束时间
"name_or_phone" => "li",//用户姓名或电话
"name_or_phone" => "li",//用户姓名或电话
经纪人
"search_content" => "111",// 搜索跟进内容
"pageNo" => 1,
"pageSize" => 15
...
...
@@ -53,7 +53,7 @@ class HomePageLog extends Basic
$pageNo
=
empty
(
$params
[
'pageNo'
])
?
1
:
$params
[
'pageNo'
];
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
$field
=
"f.id,f.user_id,f.agent_id,f.type,f.content,f.create_time,a.name,a.img,b.store_name"
;
$field
=
"f.id,f.user_id,f.agent_id,f.type,f.content,f.create_time,
f.user_status,
a.name,a.img,b.store_name"
;
if
(
!
empty
(
$params
[
"search_content"
]))
{
$where_
[
"f.content"
]
=
array
(
"like"
,
"%"
.
trim
(
$params
[
'search_content'
])
.
"%"
);
...
...
@@ -64,7 +64,7 @@ class HomePageLog extends Basic
$where_
[
"f.create_time"
]
=
array
(
'between'
,
array
(
$start_time
,
$end_time
)
);
}
if
(
!
empty
(
$params
[
"name_or_phone"
]))
{
$where_
[
"
u.user_phone|u.user_nam
e"
]
=
array
(
"like"
,
"%"
.
trim
(
$params
[
"name_or_phone"
])
.
"%"
);
$where_
[
"
a.name|a.phon
e"
]
=
array
(
"like"
,
"%"
.
trim
(
$params
[
"name_or_phone"
])
.
"%"
);
}
$join
=
[
...
...
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