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
1a68ebb5
Commit
1a68ebb5
authored
Aug 08, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户标签
parent
ce944c28
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Member.php
application/index/controller/Member.php
+1
-1
Users.php
application/model/Users.php
+4
-4
No files found.
application/index/controller/Member.php
View file @
1a68ebb5
...
...
@@ -277,7 +277,7 @@ class Member extends Basic{
$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,
$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,
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
{
...
...
application/model/Users.php
View file @
1a68ebb5
...
...
@@ -280,9 +280,9 @@ class Users extends Model
if
(
!
empty
(
$data
[
'disc'
]))
{
$insert_data
[
'disc'
]
=
$data
[
'disc'
];
}
//
注册来源 10客户c端注册 20经纪人报备时添加,状态未激 30老数据报备客户 40是租客也是房东 41
纯房东
if
(
!
empty
(
$data
[
'
source
'
]))
{
$insert_data
[
'
source'
]
=
$data
[
'source
'
];
//
0普通用户1是租客也是房东 2
纯房东
if
(
!
empty
(
$data
[
'
user_label
'
]))
{
$insert_data
[
'
user_label'
]
=
$data
[
'user_label
'
];
}
if
(
!
empty
(
$data
[
'industry_type'
]))
{
...
...
@@ -338,7 +338,7 @@ class Users extends Model
public
function
getClient
(
$id
)
{
if
(
$id
)
{
$field
=
"a.id as user_id,a.user_nick,a.user_pic,a.other_pic,a.user_name,a.user_phone,a.sex,a.agent_id,a.industry_type,
$field
=
"a.id as user_id,a.user_nick,a.user_pic,a.other_pic,a.user_name,a.user_phone,a.sex,a.agent_id,a.industry_type,
a.user_label,
a.price_demand,a.area_demand,a.create_time,b.name,b.phone,a.first_login_time,a.referrer_id,a.referrer_source,a.province,a.city,a.disc,a.source"
;
$data
=
$this
->
field
(
$field
)
...
...
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