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
e8cc2226
Commit
e8cc2226
authored
Jun 12, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
58b67064
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
Member.php
application/index/controller/Member.php
+6
-10
No files found.
application/index/controller/Member.php
View file @
e8cc2226
...
@@ -476,24 +476,20 @@ class Member extends Basic{
...
@@ -476,24 +476,20 @@ class Member extends Basic{
return
$this
->
response
(
101
,
$msg
=
'缺少参数'
,
$params
);
return
$this
->
response
(
101
,
$msg
=
'缺少参数'
,
$params
);
}
}
//$params['id'] = '';
//$params['id'] = '';
$params
[
'labels_id'
]
=
0
;
$params
[
'labels_id'
]
=
0
;
$params
[
'agent_id'
]
=
Session
::
get
(
"user_info.id"
);
$params
[
'agent_id'
]
=
Session
::
get
(
"user_info.id"
);
$params
[
'type'
]
=
1
;
$params
[
'type'
]
=
1
;
$params
[
'user_status'
]
=
$params
[
'user_status'
];
$params
[
'agent_id'
]
=
$this
->
userId
;
$params
[
'agent_id'
]
=
$this
->
userId
;
// $model = new UPhoneFollowUp($this->siteId);
// $model = new UPhoneFollowUp($this->siteId);
$s_phone_follow_up
=
new
UPhoneFollowUpTemporary
(
$this
->
siteId
);
$s_phone_follow_up
=
new
UPhoneFollowUpTemporary
(
$this
->
siteId
);
$result
=
$s_phone_follow_up
->
savePhoneFollow
(
$params
);
$result
=
$s_phone_follow_up
->
savePhoneFollow
(
$params
);
$user
=
new
Users
();
$user
->
update_user_status
([
'id'
=>
$params
[
'user_id'
],
'user_status'
=>
$params
[
'user_status'
]]);
// $redis = RedisExt::getRedis();
// $user_key = 'call_phone_user_'.date('Y-m-d');
//$redis = RedisExt::getRedis();
// $hash_key = $this->userId.'-'.$params['user_id'];
//$user_key = 'call_phone_user_'.date('Y-m-d');
// $redis->hDel($user_key, $hash_key);
//$hash_key = $this->userId.'-'.$params['user_id'];
//$redis->hDel($user_key, $hash_key);
$redis_service
=
new
RedisCacheService
();
$redis_service
=
new
RedisCacheService
();
$redis_service
->
delRecordCallRedis
(
$this
->
userId
,
$params
[
'user_id'
],
$this
->
siteId
);
$redis_service
->
delRecordCallRedis
(
$this
->
userId
,
$params
[
'user_id'
],
$this
->
siteId
);
return
$this
->
response
(
$status
,
$msg
,
$params
);
return
$this
->
response
(
$status
,
$msg
,
$params
);
...
...
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