Commit bd52c337 authored by zhuwei's avatar zhuwei

bug

parent 77624eb3
...@@ -467,7 +467,7 @@ class UserService ...@@ -467,7 +467,7 @@ class UserService
*/ */
public function isCollect($agent_id,$user_id){ public function isCollect($agent_id,$user_id){
$is_collect = 2; $is_collect = 2;
if(!empty($agent_id) && !empty($user_id) ){ if($agent_id && $user_id){
$field = 'id,status'; $field = 'id,status';
$get_params['agents_id'] = $agent_id; $get_params['agents_id'] = $agent_id;
$get_params['user_id'] = $user_id; $get_params['user_id'] = $user_id;
......
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