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
8178443d
Commit
8178443d
authored
Aug 22, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
af2bf3ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
User.php
application/api_broker/controller/User.php
+3
-3
No files found.
application/api_broker/controller/User.php
View file @
8178443d
...
...
@@ -613,7 +613,7 @@ class User extends Basic
$model_res
=
$model
->
getLastOrNextUserIDPhoneFollowP
(
$where
,
$field
,
$limit
=
1
,
$order
);
if
(
!
$model_res
)
{
return
$this
->
response
(
"201"
,
"查无数据"
,
[
'
user_
id'
=>
$params
[
'id'
]]);
return
$this
->
response
(
"201"
,
"查无数据"
,
[
'id'
=>
$params
[
'id'
]]);
}
// 判断当天被拨打是否超过5次
...
...
@@ -632,13 +632,13 @@ class User extends Basic
if
((
$model_res
[
0
][
'vip'
]
==
1
))
{
if
((
$examine_vip
==
1
))
{
return
$this
->
response
(
"201"
,
"vip 非客方"
,
[
'
user_
id'
=>
$model_res
[
0
][
'id'
]]);
return
$this
->
response
(
"201"
,
"vip 非客方"
,
[
'id'
=>
$model_res
[
0
][
'id'
]]);
}
}
// 判断是否24小时保护期内
if
((
time
()
-
strtotime
(
$model_res
[
0
][
'create_time'
]))
<
(
60
*
60
*
24
)){
return
$this
->
response
(
"201"
,
"24小时保护期内"
,
[
'
user_
id'
=>
$model_res
[
0
][
'id'
]]);
return
$this
->
response
(
"201"
,
"24小时保护期内"
,
[
'id'
=>
$model_res
[
0
][
'id'
]]);
}
}
// dump($model_res);exit();
...
...
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