Commit 0dc4818d authored by hujun's avatar hujun

经纪人登录修改

parent ee04826a
...@@ -44,8 +44,8 @@ class Broker extends Basic ...@@ -44,8 +44,8 @@ class Broker extends Basic
$data['status'] = 101; $data['status'] = 101;
if ($this->params['phone'] && $this->params['pwd']) { if ($this->params['phone'] && $this->params['pwd']) {
$field = 'id,device_id,store_id,auth_group_id,district_id,level,name,phone,password,sex,img,inviter_id,status';
$agents_data = $this->a_agents->getInfo($this->params['phone'], $this->params['pwd']); $agents_data = $this->a_agents->getInfo($this->params['phone'], $this->params['pwd'], false, $field);
if (isset($agents_data['id']) && ($agents_data['status'] == 0)) { if (isset($agents_data['id']) && ($agents_data['status'] == 0)) {
if ($agents_data['password'] == md5($this->params['pwd'])) { if ($agents_data['password'] == md5($this->params['pwd'])) {
......
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