diff --git a/app/agent/controller/Index.php b/app/agent/controller/Index.php index 5eb4e61..e4e5583 100644 --- a/app/agent/controller/Index.php +++ b/app/agent/controller/Index.php @@ -152,6 +152,7 @@ class Index $manager_list = $user_model->getManagerList([],'ManagerId,ManagerName,count(1) as num',['ManagerId'],'num asc'); $data['ManagerId'] = $manager_list[0]['ManagerId']; $data['ManagerName'] = $manager_list[0]['ManagerName']; + unset($data['code']); $has_user = $user_model->isExit("LoginCode='".$data['LoginCode']."' or Phone='".$data['Phone']."' or TaoBao='".$data['Phone']."'"); if ($has_user){