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
c5b588e1
Commit
c5b588e1
authored
Aug 17, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
d512519e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
8 deletions
+11
-8
User.php
application/api_broker/controller/User.php
+9
-6
Evaluate.php
application/model/Evaluate.php
+1
-1
route.php
application/route.php
+1
-1
No files found.
application/api_broker/controller/User.php
View file @
c5b588e1
...
...
@@ -154,17 +154,20 @@ class User extends Basic
foreach
(
$userList
as
$k
=>
$v
)
{
$is_show
=
$clientService
->
dialTotal
(
$v
[
"user_id"
]);
if
(
$is_show
)
{
//判断客户是否超过24小时保护期间 0:保护器内 1:超过保护期
$is_outstrip_twenty_four_hours
=
0
;
if
((
time
()
-
strtotime
(
$v
[
'create_time'
]))
>
(
60
*
60
*
24
)){
$is_outstrip_twenty_four_hours
=
1
;
}
$v
[
'is_outstrip_twenty_four_hours'
]
=
$is_outstrip_twenty_four_hours
;
array_push
(
$list
,
$v
);
}
}
}
foreach
(
$list
as
$k
=>
$v
)
{
//判断客户是否超过24小时保护期间 0:保护器内 1:超过保护期
$is_outstrip_twenty_four_hours
=
0
;
if
((
time
()
-
strtotime
(
$v
[
'create_time'
]))
>
(
60
*
60
*
24
)){
$is_outstrip_twenty_four_hours
=
1
;
}
$list
[
$k
][
'is_outstrip_twenty_four_hours'
]
=
$is_outstrip_twenty_four_hours
;
}
$vip_services
=
new
VipService
();
$data
[
'examine_vip'
]
=
$vip_services
->
vip
(
$this
->
agentId
);
$data
[
'user_date'
]
=
$list
;
...
...
application/model/Evaluate.php
View file @
c5b588e1
...
...
@@ -22,7 +22,7 @@ class Evaluate extends Model
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
* @throws \think\exception\DbException
*/
public
function
getEvaluate
(
$pageNo
=
1
,
$pageSize
=
15
,
$order_
=
'id desc'
,
$field
,
$params
,
$agent_id
=
''
)
{
...
...
application/route.php
View file @
c5b588e1
...
...
@@ -291,7 +291,7 @@ Route::group('index', [
'selectStorePerformance'
=>
[
'index/Performance/selectStorePerformance'
,
[
'method'
=>
'POST|GET'
]
],
//门店业绩排行 朱伟 2018-07-31
'selectIndividualPerformance'
=>
[
'index/Performance/selectIndividualPerformance'
,
[
'method'
=>
'POST|GET'
]
],
//个人业绩排行 朱伟 2018-07-31
'transformFollowUp'
=>
[
'index/HouseFollowUp/transformFollowUp'
,
[
'method'
=>
'GET'
]
],
//个人业绩排行 朱伟 2018-07-31
'getPerformanceExcel'
=>
[
'index/Performance/getPerformanceExcel'
,
[
'method'
=>
'POST|GET'
]
],
//区域业绩排行 朱伟 2018-07-31
'getPerformanceExcel'
=>
[
'index/Performance/getPerformanceExcel'
,
[
'method'
=>
'POST|GET'
]
],
...
...
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