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
330b620c
Commit
330b620c
authored
Oct 23, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户列表 默认显示经纪人所在站点的客户
parent
848a314d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
User.php
application/api_broker/controller/User.php
+1
-1
Member.php
application/index/controller/Member.php
+2
-0
No files found.
application/api_broker/controller/User.php
View file @
330b620c
...
...
@@ -168,8 +168,8 @@ class User extends Basic
$time_now
=
date
(
'Y-m-d H:i:s'
);
//当前时间
//protect_time 将截止日期大于当前时间的数据排除掉
$conditions
[
'protect_time'
]
=
array
(
'lt'
,
$time_now
);
$conditions
[
'site_ids'
]
=
[
'LIKE'
,
'%'
.
$this
->
siteId
.
'%'
];
//默认显示经纪人所在站点的客户
}
}
}
//dump($app_request_source_type);exit;
...
...
application/index/controller/Member.php
View file @
330b620c
...
...
@@ -111,6 +111,8 @@ class Member extends Basic{
$time_now
=
date
(
'Y-m-d H:i:s'
);
//当前时间
//protect_time 将截止日期大于当前时间的数据排除掉
$where
[
'a.protect_time'
]
=
array
(
'lt'
,
$time_now
);
$where
[
'a.site_ids'
]
=
[
'LIKE'
,
'%'
.
$this
->
siteId
.
'%'
];
//默认显示经纪人所在站点的客户
}
}
...
...
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