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
e692831a
Commit
e692831a
authored
Aug 22, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户动态展示加搜索加客户详情 保护期
parent
4f816908
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
Remark.php
application/index/controller/Remark.php
+12
-0
No files found.
application/index/controller/Remark.php
View file @
e692831a
...
...
@@ -219,6 +219,18 @@ class Remark extends Basic
$user_res
[
'agentinfo'
]
=
$Agents_res
?
$Agents_res
[
'name'
]
.
'/'
.
$Agents_res
[
'phone'
]
:
'未知'
;
//判断客户是否超过24小时保护期间 0:保护器内 1:超过保护期
/*$ser = new UserExpiredTimeService();
$res = $ser->getExpiredTimeByUser($v["user_id"]);
$data['data']['list'][$k]['is_outstrip_twenty_four_hours'] = $res ? 0 : 1 ;*/
$is_outstrip_twenty_four_hours
=
0
;
if
((
time
()
-
strtotime
(
$user_res
[
'u_create_time'
]))
>
(
60
*
60
*
24
)){
$is_outstrip_twenty_four_hours
=
1
;
}
$user_res
[
'is_outstrip_twenty_four_hours'
]
=
$is_outstrip_twenty_four_hours
;
$records
=
new
GOperatingRecords
();
$records_result
=
$records
->
user_history
(
$user_id
);
return
$this
->
response
(
"200"
,
"success!"
,
[
'user_info'
=>
$user_res
,
'user_date'
=>
$UPhoneFollowPp_res
,
'user_history'
=>
$records_result
]);
...
...
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