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
45d1f6a7
Commit
45d1f6a7
authored
Jan 11, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
23801a80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
PhoneFollowUpService.php
application/index/service/PhoneFollowUpService.php
+9
-9
No files found.
application/index/service/PhoneFollowUpService.php
View file @
45d1f6a7
...
...
@@ -46,15 +46,15 @@ class PhoneFollowUpService
$page_no
=
isset
(
$params
[
'page_no'
])
?
$params
[
'page_no'
]
:
1
;
$page_size
=
isset
(
$params
[
'page_size'
])
?
$params
[
'page_size'
]
:
15
;
//
$is_check = $vrs->followUpClick($agent_id);
//
if($page_no == 1 && !$is_check){
//
$is_bool = $vrs->getCurrTimeSection();
//
$msg = "请勿频繁请求";
//
if($is_bool) {
//
$msg = "高峰期间每10秒钟只能搜索一次(6.30-8.30)";
//
}
//
return ['code'=>'101','data'=>$msg];
//
}
$is_check
=
$vrs
->
followUpClick
(
$agent_id
);
if
(
$page_no
==
1
&&
!
$is_check
){
$is_bool
=
$vrs
->
getCurrTimeSection
();
$msg
=
"请勿频繁请求"
;
if
(
$is_bool
)
{
$msg
=
"高峰期间每10秒钟只能搜索一次(6.30-8.30)"
;
}
return
[
'code'
=>
'101'
,
'data'
=>
$msg
];
}
$where
=
' 1=1 '
;
if
(
empty
(
$start_time
)
||
empty
(
$end_time
))
{
return
[
'code'
=>
'101'
,
'data'
=>
'时间不能为空'
];
...
...
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