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
bddcdaa6
Commit
bddcdaa6
authored
Aug 24, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
f7dffdef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
User.php
application/api_broker/controller/User.php
+5
-6
No files found.
application/api_broker/controller/User.php
View file @
bddcdaa6
...
...
@@ -153,16 +153,15 @@ class User extends Basic
$clientService
=
new
ClientService
();
foreach
(
$userList
as
$k
=>
$v
)
{
$sign_call
=
0
;
$is_show
=
$clientService
->
dialTotal
(
$v
[
"user_id"
]);
if
(
$is_show
)
{
$sign_call
=
1
;
}
$is_show
=
$clientService
->
dialTotal
(
$v
[
"user_id"
]);
$userList
[
$k
][
'sign_call'
]
=
$is_show
?
0
:
1
;
$is_outstrip_twenty_four_hours
=
0
;
if
((
time
()
-
strtotime
(
$v
[
'create_time'
]))
>
(
60
*
60
*
24
))
{
$is_outstrip_twenty_four_hours
=
1
;
}
$userList
[
$k
][
'sign_call'
]
=
$sign_call
;
$userList
[
$k
][
'is_outstrip_twenty_four_hours'
]
=
$is_outstrip_twenty_four_hours
;
}
...
...
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