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
c411412d
Commit
c411412d
authored
Oct 10, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
纯房东2、非纯房东3筛选
parent
1ae0808d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
Member.php
application/index/controller/Member.php
+9
-3
No files found.
application/index/controller/Member.php
View file @
c411412d
...
...
@@ -288,9 +288,15 @@ class Member extends Basic{
$where
[
'a.referrer_source'
]
=
10
;
}
//'客户列表' 需要排除排除纯房东客户
//$where['a.user_label'] = array( "neq", 2 );
//产品那个瘪一会儿要一会儿又不要,先注释
//纯房东2、非纯房东3筛选
if
(
!
empty
(
$params
[
'is_single_homeowner'
]))
{
if
(
$params
[
'is_single_homeowner'
]
==
2
)
{
$where
[
'a.user_label'
]
=
2
;
}
elseif
(
$params
[
'is_single_homeowner'
]
==
3
)
{
$where
[
'a.user_label'
]
=
array
(
"neq"
,
2
);
}
}
$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'
;
...
...
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