Commit e8cc2226 authored by zhuwei's avatar zhuwei

1

parent 58b67064
......@@ -476,24 +476,20 @@ class Member extends Basic{
return $this->response(101, $msg = '缺少参数', $params);
}
//$params['id'] = '';
$params['labels_id'] = 0;
$params['agent_id'] = Session::get("user_info.id");
$params['agent_id'] = Session::get("user_info.id");
$params['type'] = 1;
$params['user_status'] = $params['user_status'];
$params['agent_id'] = $this->userId;
// $model = new UPhoneFollowUp($this->siteId);
$s_phone_follow_up = new UPhoneFollowUpTemporary($this->siteId);
$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');
// $hash_key = $this->userId.'-'.$params['user_id'];
// $redis->hDel($user_key, $hash_key);
//$redis = RedisExt::getRedis();
//$user_key = 'call_phone_user_'.date('Y-m-d');
//$hash_key = $this->userId.'-'.$params['user_id'];
//$redis->hDel($user_key, $hash_key);
$redis_service = new RedisCacheService();
$redis_service->delRecordCallRedis($this->userId, $params['user_id'], $this->siteId);
return $this->response($status, $msg, $params);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment